cargo: Fix getrandom dependency

This commit is contained in:
Valentin Tolmer 2023-09-10 21:55:30 +02:00 committed by nitnelave
parent 5677ff798f
commit ce6bf7c548
1 changed files with 1 additions and 1 deletions

View File

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