diff --git a/samples/wasm/Cargo.toml b/samples/wasm/Cargo.toml index 90230b50b..7f7d8ea96 100644 --- a/samples/wasm/Cargo.toml +++ b/samples/wasm/Cargo.toml @@ -12,6 +12,7 @@ default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2.63" +getrandom = { version = "0.2.1", features = ["js"] } # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires