|
|
@@ -40,12 +40,16 @@ anyhow.workspace = true
|
|
|
serde_json.workspace = true
|
|
|
serde_with.workspace = true
|
|
|
web-time.workspace = true
|
|
|
-tokio.workspace = true
|
|
|
parking_lot = "0.12.5"
|
|
|
|
|
|
+
|
|
|
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
+tokio = { version = "1", default-features = false, features = ["rt", "rt-multi-thread", "macros", "test-util", "sync"] }
|
|
|
+
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
uuid = { workspace = true, features = ["js"], optional = true }
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
+tokio.workspace = true
|
|
|
wasm-bindgen = "0.2"
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|