From: Alekos Filini Date: Wed, 16 Sep 2020 15:30:11 +0000 (+0200) Subject: [cargo] Add the required `rand` features for `wasm32` X-Git-Tag: v0.1.0~46 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.EncoderStringWriter.html?a=commitdiff_plain;h=92e5849923e4c28f17e69364a5de34f3e6f48da7;p=bdk-cli [cargo] Add the required `rand` features for `wasm32` --- diff --git a/Cargo.toml b/Cargo.toml index 75aa449..9d12a8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ tokio = { version = "0.2", features = ["rt-core"] } [target.'cfg(target_arch = "wasm32")'.dependencies] async-trait = "0.1" js-sys = "0.3" +rand = { version = "^0.7", features = ["wasm-bindgen"] } [features] minimal = [] @@ -61,7 +62,6 @@ lazy_static = "1.4" rustyline = "6.0" dirs = "2.0" env_logger = "0.7" -rand = "0.7" [[example]] name = "repl"