cargo: Fix getrandom dependency
This commit is contained in:
committed by
nitnelave
parent
5677ff798f
commit
ce6bf7c548
@@ -34,7 +34,7 @@ features = [ "serde" ]
|
||||
# For WASM targets, use the JS getrandom.
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
|
||||
version = "0.2"
|
||||
features = ["js"]
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
||||
version = "0.2"
|
||||
features = ["js"]
|
||||
|
||||
Reference in New Issue
Block a user