egui/crates/egui_demo_app
Nathan Adams 87021d3fbd
`egui_extras`: Make `serde` an optional feature (#4641)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

All the other crates in egui have serde as an optional dependency -
which is great! But sadly egui_extras unconditionally includes it, which
adds a bunch of code to stuff that may not care for it. This PR gates
serde support behind a new `serde` feature.

This is a breaking change; if that's undesirable then we can add it as a
default feature instead, though that wouldn't match any of the other
crates.
2024-06-18 22:27:48 +02:00
..
src Update to wgpu 0.20 (#4560) 2024-06-13 15:00:23 +02:00
Cargo.toml `egui_extras`: Make `serde` an optional feature (#4641) 2024-06-18 22:27:48 +02:00
README.md Rename `sh/` folder to `scripts/` 2023-04-18 17:10:52 +02:00

README.md

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:

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

egui_demo_app uses egui_demo_lib.

Running with wgpu backend

(cd egui_demo_app && cargo r --features wgpu)