From ce6bf7c5481d1509dd5268d6002e0c631005ace8 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Sun, 10 Sep 2023 21:55:30 +0200 Subject: [PATCH] cargo: Fix getrandom dependency --- auth/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/Cargo.toml b/auth/Cargo.toml index c61b376..8bf31d2 100644 --- a/auth/Cargo.toml +++ b/auth/Cargo.toml @@ -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"]