diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index 69b9a0f3..04726409 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -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",