Skip to content

Commit a0f5a9e

Browse files
authored
fix: Remove ring altogether (#1606)
1 parent 53c988b commit a0f5a9e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Cargo.lock

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

sdk/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,12 @@ chrono = { version = "0.4.39", default-features = false, features = [
270270
"wasmbind",
271271
] }
272272
console_log = { version = "1.0.0", features = ["color"] }
273+
# Enable getrandom with wasm_js feature for WASM support
274+
getrandom = { version = "0.3.4", features = ["wasm_js"] }
275+
# Also enable getrandom 0.2 with js feature for other dependencies (rand, tempfile, config)
276+
# This is needed until all dependencies migrate to getrandom 0.3
277+
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
273278
js-sys = "0.3.58"
274-
ring = { version = "0.17.13", features = ["wasm32_unknown_unknown_js"] }
275279
serde-wasm-bindgen = "0.6.5"
276280
uuid = { version = "1.18.0", features = ["serde", "v4", "js"] }
277281
wasm-bindgen = "0.2.105"

0 commit comments

Comments
 (0)