From 299d9b2162dda5f52cbd6dafada5939bbea30591 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 28 Sep 2023 11:47:50 +0200 Subject: [PATCH] Make rfd native-only dependency --- crates/egui_demo_app/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui_demo_app/Cargo.toml b/crates/egui_demo_app/Cargo.toml index 1b1440c70ef..7ea72e67f57 100644 --- a/crates/egui_demo_app/Cargo.toml +++ b/crates/egui_demo_app/Cargo.toml @@ -69,10 +69,10 @@ serde = { version = "1", optional = true, features = ["derive"] } # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] env_logger = "0.10" +rfd = { version = "0.11", optional = true } # web: [target.'cfg(target_arch = "wasm32")'.dependencies] -rfd = { version = "0.11", optional = true } wasm-bindgen = "=0.2.87" wasm-bindgen-futures = "0.4" web-sys = "0.3"