[cargo] Add the required rand
features for wasm32
This commit is contained in:
parent
57ea653f1c
commit
cf2a8bccac
@ -36,6 +36,7 @@ tokio = { version = "0.2", features = ["rt-core"] }
|
|||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
js-sys = "0.3"
|
js-sys = "0.3"
|
||||||
|
rand = { version = "^0.7", features = ["wasm-bindgen"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
minimal = []
|
minimal = []
|
||||||
@ -61,7 +62,6 @@ lazy_static = "1.4"
|
|||||||
rustyline = "6.0"
|
rustyline = "6.0"
|
||||||
dirs = "2.0"
|
dirs = "2.0"
|
||||||
env_logger = "0.7"
|
env_logger = "0.7"
|
||||||
rand = "0.7"
|
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "repl"
|
name = "repl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user