cargo: Fix getrandom dependency

This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2023-09-10 22:29:32 +02:00
1 parent 5677ff798f
commit ce6bf7c548
1 file changed
+1 -1
+1 -1
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"]