From 91149c1ce0a7f89e6c12c156a5734cc3ca31d09a Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Sun, 31 Mar 2024 17:43:13 +0100 Subject: [PATCH] refactor: getrandom js --- crates/cashu-sdk/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cashu-sdk/Cargo.toml b/crates/cashu-sdk/Cargo.toml index e716a2b3..cf024560 100644 --- a/crates/cashu-sdk/Cargo.toml +++ b/crates/cashu-sdk/Cargo.toml @@ -33,6 +33,7 @@ serde_json = { workspace = true } url = { workspace = true } tracing = { workspace = true } thiserror = { workspace = true } +getrandom = { version = "0.2", features = ["js"] } async-trait = "0.1.74" gloo = { version = "0.11.0", optional = true, features = ["net"] } http = "1.0.0" @@ -44,6 +45,5 @@ redb = { version = "2.0.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] } -getrandom = { version = "0.2", features = ["js"] }