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

Refactor and simplify feature flags

This commit is contained in:
Emil Ernerfeldt
2022-04-11 10:53:16 +02:00
parent 426b933d2f
commit 917f9e1768
6 changed files with 26 additions and 20 deletions

View File

@@ -9,7 +9,8 @@
#![warn(missing_docs)] // Let's keep `epi` well-documented.
/// File storage which can be used by native backends.
#[cfg(feature = "file_storage")]
#[cfg(not(target_arch = "wasm32"))]
#[cfg(feature = "persistence")]
pub mod file_storage;
pub use egui; // Re-export for user convenience