Skip to content

Commit 036dd95

Browse files
committed
chore: Enable the wasm_js feature for yet another getrandom version
1 parent 73f63ce commit 036dd95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/matrix-sdk-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] }
5353
wasm-bindgen.workspace = true
5454
wasm-bindgen-futures = { version = "0.4.33", optional = true }
5555
web-sys = { workspace = true, features = ["console"] }
56+
getrandom03 = { package = "getrandom", version = "0.3.4", default-features = false, features = ["wasm_js"] }
5657

5758
[dev-dependencies]
5859
assert_matches.workspace = true
@@ -66,7 +67,6 @@ wasm-bindgen-test.workspace = true
6667
[target.'cfg(target_family = "wasm")'.dev-dependencies]
6768
# Enable the JS feature for getrandom.
6869
getrandom = { workspace = true, default-features = false, features = ["wasm_js"] }
69-
getrandom02 = { package = "getrandom", version = "0.2.17", default-features = false, features = ["js"] }
7070
js-sys.workspace = true
7171

7272
[lints]

0 commit comments

Comments
 (0)