From 8fe9ff83e32a2de5038a38a481f17ede9af4b87c Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 29 Jun 2026 10:50:08 +0200 Subject: [PATCH 1/2] Update Cargo.toml --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 568554d..86e4161 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,6 +89,9 @@ zerocopy = { version = "0.8.24", default-features = false, features = ["simd"] } [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies] once_cell = { version = "1.18.0", default-features = false, features = ["alloc"] } +[target.'cfg(target_arch = "wasm32")'.dependencies] +getrandom = { version = "0.3.4", features = ["wasm_js"] } + [dev-dependencies] no-panic = "0.1.10" criterion = {version = "0.3.2", features = ["html_reports"] } From bc7593062f678e7238f27d6e54c48611f6e57433 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 29 Jun 2026 11:56:48 +0200 Subject: [PATCH 2/2] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 86e4161..53b0ce3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -90,7 +90,7 @@ zerocopy = { version = "0.8.24", default-features = false, features = ["simd"] } once_cell = { version = "1.18.0", default-features = false, features = ["alloc"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -getrandom = { version = "0.3.4", features = ["wasm_js"] } +getrandom = { version = "0.3.1", features = ["wasm_js"] } [dev-dependencies] no-panic = "0.1.10"