diff --git a/Cargo.lock b/Cargo.lock index 989b105..40d86d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1071,8 +1071,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" dependencies = [ "cfg-if 1.0.0", + "js-sys", "libc", "wasi 0.10.2+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -2063,6 +2065,9 @@ name = "nanorand" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "729eb334247daa1803e0a094d0a5c55711b85571179f5ec6e53eccfdf7008958" +dependencies = [ + "getrandom 0.2.6", +] [[package]] name = "nb" diff --git a/peach-lib/Cargo.toml b/peach-lib/Cargo.toml index 82970a1..370db43 100644 --- a/peach-lib/Cargo.toml +++ b/peach-lib/Cargo.toml @@ -14,7 +14,7 @@ jsonrpc-client-core = "0.5" jsonrpc-client-http = "0.5" jsonrpc-core = "8.0" log = "0.4" -nanorand = "0.6" +nanorand = { version = "0.6", features = ["getrandom"] } regex = "1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"