We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 161d249 + c683073 commit 46b6285Copy full SHA for 46b6285
Cargo.toml
@@ -40,7 +40,7 @@ std_rand = ["rand/std_rng", "rand/std"]
40
js = ["getrandom/js"]
41
42
[target.'cfg(target_arch = "wasm32")'.dependencies]
43
-getrandom = { version = "0.2", optional = true }
+getrandom = { version = "*", features = ["js"] }
44
45
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies]
46
wasm-bindgen-test = "0.3"
0 commit comments