Skip to content

Commit

Permalink
Make rfd native-only dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 28, 2023
1 parent 552a1a9 commit 299d9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui_demo_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 299d9b2

Please sign in to comment.