We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b8753a commit 8f83266Copy full SHA for 8f83266
Cargo.toml
@@ -43,6 +43,9 @@ std = [
43
"pin-utils",
44
"slab",
45
"smol",
46
+ "wasm-timer",
47
+ "wasm-bindgen-futures",
48
+ "futures-channel",
49
]
50
alloc = [
51
"futures-core/alloc",
@@ -69,9 +72,9 @@ slab = { version = "0.4.2", optional = true }
69
72
smol = { version = "0.1.1", optional = true }
70
73
71
74
[target.'cfg(target_arch = "wasm32")'.dependencies]
-wasm-timer = "0.2.4"
-wasm-bindgen-futures = "0.4.10"
-futures-channel = "0.3.4"
75
+wasm-timer = { version = "0.2.4", optional = true }
76
+wasm-bindgen-futures = { version = "0.4.10", optional = true }
77
+futures-channel = { version = "0.3.4", optional = true }
78
79
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
80
wasm-bindgen-test = "0.3.10"
0 commit comments