enable wasm-bindgen feature of rand dependency

This commit is contained in:
gnzlbg 2019-01-21 12:00:52 +01:00 committed by gnzlbg
parent 0c3a513a40
commit 81f0043872

View file

@ -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"