refactor: getrandom js

This commit is contained in:
thesimplekid
2024-03-31 17:43:13 +01:00
parent 860f92b0b8
commit 91149c1ce0

View File

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