make wasm deps part of std

pull/757/head
dignifiedquire 5 years ago
parent e0928463b1
commit 26f62aafd9

@ -43,6 +43,9 @@ std = [
"pin-utils", "pin-utils",
"slab", "slab",
"smol", "smol",
"wasm-timer",
"wasm-bindgen-futures",
"futures-channel",
] ]
alloc = [ alloc = [
"futures-core/alloc", "futures-core/alloc",
@ -69,9 +72,9 @@ slab = { version = "0.4.2", optional = true }
smol = { version = "0.1.1", optional = true } smol = { version = "0.1.1", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-timer = "0.2.4" wasm-timer = { version = "0.2.4", optional = true }
wasm-bindgen-futures = "0.4.10" wasm-bindgen-futures = { version = "0.4.10", optional = true }
futures-channel = "0.3.4" futures-channel = { version = "0.3.4", optional = true }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies] [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.10" wasm-bindgen-test = "0.3.10"

Loading…
Cancel
Save