fix: fix code to be compatible with rand 0.8, following the recommendations of https://rust-random.github.io/book/update-0.8.html and https://docs.rs/getrandom/0.2.2/getrandom/#webassembly-support

This commit is contained in:
Luis Moreno
2021-04-28 16:28:43 -04:00
parent 703dc9688b
commit c295a0d1bb
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ rand_distr = "0.4.0"
serde = { version = "1.0.115", features = ["derive"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
rand = { version = "0.7.3", features = ["wasm-bindgen"] }
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
criterion = "0.3"