Fix the wasm build (#2919)

This commit is contained in:
Jonathan Turner 2021-01-13 07:14:35 +13:00 committed by GitHub
parent d06f457b2a
commit d19314fe3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ default = ["console_error_panic_hook"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.63" wasm-bindgen = "0.2.63"
getrandom = { version = "0.2.1", features = ["js"] }
# The `console_error_panic_hook` crate provides better debugging of panics by # The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires # logging them with `console.error`. This is great for development, but requires