placed web-sys dependency behind a feature flag in wasm-bindgen-futures

This commit is contained in:
ibaryshnikov 2019-06-17 20:29:39 +03:00
parent 16c6bdc966
commit 06c783d5e3

View File

@ -18,9 +18,9 @@ futures-util-preview = { version = "0.3.0-alpha.15", optional = true }
futures-channel-preview = { version = "0.3.0-alpha.15", optional = true }
lazy_static = { version = "1.3.0", optional = true }
[dependencies.web-sys]
[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
path = "../web-sys"
version = "0.3.22"
version = "0.3.23"
features = [
"MessageEvent",
"Worker",