diff --git a/Cargo.toml b/Cargo.toml index a9ea9ae..8552738 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ sha2 = { version = "0.10.7", optional = true, features = ["oid"] } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3" -getrandom = "0.2" +getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] wasm-bindgen-test = "0.3.1"