egui/egui_demo_app
Emil Ernerfeldt 8c09804abd
eframe: selectively expose parts of the API based on compile target (#1867)
A lot of the `eframe` API is native-only or web-only. With this PR, only the parts that are implemented for each platform is exposed.

This means you'll need to add `#[cfg(target_arch = "wasm32")]` around code that uses the web-parts of the eframe API, and add `#[cfg(not(target_arch = "wasm32"))]` around the parts that are for native/desktop.
2022-07-29 14:37:23 +02:00
..
src eframe: selectively expose parts of the API based on compile target (#1867) 2022-07-29 14:37:23 +02:00
Cargo.toml Update MSRV to Rust 1.61.0 (#1846) 2022-07-26 16:50:53 +02:00
README.md Move code from egui_demo_lib to egui_demo_app (#1540) 2022-04-28 11:23:34 +02:00

egui demo app

This app demonstrates egui and eframe.

View the demo app online at https://egui.rs.

Run it locally with cargo run --release -p egui_demo_app.

egui_demo_app can be compiled to WASM and viewed in a browser locally with:

./sh/start_server.sh &
./sh/build_demo_web.sh --fast --open

egui_demo_app uses egui_demo_lib.