chore: Enable the wasm_js feature for yet another getrandom version

This commit is contained in:
Damir Jelić
2026-03-18 13:36:27 +01:00
parent 7644743b9e
commit 72ab02bfd4
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -3641,7 +3641,7 @@ dependencies = [
"futures-core",
"futures-executor",
"futures-util",
"getrandom 0.2.17",
"getrandom 0.3.4",
"getrandom 0.4.2",
"gloo-timers",
"imbl",

View File

@@ -53,6 +53,7 @@ tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] }
wasm-bindgen.workspace = true
wasm-bindgen-futures = { version = "0.4.33", optional = true }
web-sys = { workspace = true, features = ["console"] }
getrandom03 = { package = "getrandom", version = "0.3.4", default-features = false, features = ["wasm_js"] }
[dev-dependencies]
assert_matches.workspace = true
@@ -66,7 +67,6 @@ wasm-bindgen-test.workspace = true
[target.'cfg(target_family = "wasm")'.dev-dependencies]
# Enable the JS feature for getrandom.
getrandom = { workspace = true, default-features = false, features = ["wasm_js"] }
getrandom02 = { package = "getrandom", version = "0.2.17", default-features = false, features = ["js"] }
js-sys.workspace = true
[lints]