enable wasm-bindgen feature of rand dependency
This commit is contained in:
parent
0c3a513a40
commit
81f0043872
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@ quickcheck = "0.7"
|
|||
rand = "0.6"
|
||||
cupid = "0.6.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
rand = { version = "0.6", features = ["wasm-bindgen"] }
|
||||
|
||||
[[example]]
|
||||
name = "hex"
|
||||
path = "../../examples/hex.rs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue