diff --git a/Cargo.toml b/Cargo.toml index 568554d..53b0ce3 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.1", features = ["wasm_js"] } + [dev-dependencies] no-panic = "0.1.10" criterion = {version = "0.3.2", features = ["html_reports"] }