egui/example_web/src/main.rs

10 lines
267 B
Rust

#![forbid(unsafe_code)]
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![warn(clippy::all)]
// When compiling natively:
fn main() {
let app = example_web::ExampleApp::default();
eframe::run_native(Box::new(app));
}