1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Add eframe::storage_dir (#3286)

* Add `eframe::storage_dir`

Now you can easily tell where eframe stores its state

* egui_plot: work even without the `serde` featur flag
This commit is contained in:
Emil Ernerfeldt
2023-08-29 15:22:07 +02:00
committed by GitHub
parent a59eda7a27
commit 70bfc7e09f
5 changed files with 38 additions and 16 deletions

View File

@@ -159,6 +159,11 @@ pub use web::{WebLogger, WebRunner};
#[cfg(any(feature = "glow", feature = "wgpu"))]
mod native;
#[cfg(not(target_arch = "wasm32"))]
#[cfg(any(feature = "glow", feature = "wgpu"))]
#[cfg(feature = "persistence")]
pub use native::file_storage::storage_dir;
/// This is how you start a native (desktop) app.
///
/// The first argument is name of your app, used for the title bar of the native window