mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
18 lines
566 B
Rust
18 lines
566 B
Rust
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
|
|
#![deny(broken_intra_doc_links)]
|
|
#![deny(invalid_codeblock_attributes)]
|
|
#![deny(private_intra_doc_links)]
|
|
#![forbid(unsafe_code)]
|
|
#![warn(clippy::all, rust_2018_idioms)]
|
|
|
|
// When compiling natively:
|
|
fn main() {
|
|
let app = egui_demo_lib::WrapApp::default();
|
|
let options = eframe::NativeOptions {
|
|
// Let's show off that we support transparent windows
|
|
transparent: true,
|
|
..Default::default()
|
|
};
|
|
eframe::run_native(Box::new(app), options);
|
|
}
|