js feature of getrandom for wasm build
This commit is contained in:
parent
e2369eaf6f
commit
d909905917
@ -22,3 +22,9 @@ tsify = { git = "https://github.com/Sosthene00/tsify", branch = "next" }
|
||||
wasm-bindgen = "0.2.91"
|
||||
rs_merkle = "1.4.2"
|
||||
zstd = "0.13.3"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
getrandom = { version = "0.2" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user