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.
1 parent 4558be5 commit c683073Copy full SHA for c683073
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