emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
21.88k stars 1.58k forks source link

[eframe] Enable all features in the rustdocs #5067

Closed BGR360 closed 3 weeks ago

BGR360 commented 3 weeks ago

When browsing the documentation for eframe, I cannot search or browse to anything that is not covered by the default features. For example, WebRunner.

Please enable whatever rustdoc options are necessary so that docs.rs shows documentation for everything and specifies which feature flags are required for each thing.

YgorSouza commented 3 weeks ago

It already does that.

https://github.com/emilk/egui/blob/454abf705b87aba70cef582d6ce80f74aa398906/crates/eframe/Cargo.toml#L22-L25

You have to change the platform to wasm in docs.rs, then you'll see the web-only symbols.

image