Depend on wasm-bindgen-futures only for Wasm

Fixes #2518
This commit is contained in:
Héctor Ramón Jiménez 2024-07-24 10:38:51 +02:00
parent 2eea9b81e4
commit 884c66ca15
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F

View file

@ -33,7 +33,6 @@ log.workspace = true
rustc-hash.workspace = true
thiserror.workspace = true
tracing.workspace = true
wasm-bindgen-futures.workspace = true
window_clipboard.workspace = true
winit.workspace = true
@ -46,4 +45,4 @@ winapi.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys.workspace = true
web-sys.features = ["Document", "Window"]
wasm-bindgen-futures.workspace = true