aboutsummaryrefslogtreecommitdiffstats
path: root/luz/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'luz/Cargo.toml')
-rw-r--r--luz/Cargo.toml19
1 files changed, 15 insertions, 4 deletions
diff --git a/luz/Cargo.toml b/luz/Cargo.toml
index 4ab1a6e..878132b 100644
--- a/luz/Cargo.toml
+++ b/luz/Cargo.toml
@@ -21,7 +21,6 @@ rsasl = { version = "2.0.1", default-features = false, features = [
"config_builder",
"scram-sha-1",
] }
-tokio = { workspace = true, features = ["io-util"] }
tracing = "0.1.40"
try_map = "0.3.1"
stanza = { version = "0.1.0", path = "../stanza", features = ["xep_0156"] }
@@ -35,11 +34,23 @@ pin-project = "1.1.7"
thiserror = "2.0.11"
[target.'cfg(target_arch = "wasm32")'.dependencies]
-tokio = { workspace = true, features = ["io-util", "sync", "macros"] }
+tokio = { workspace = true, features = ["macros", "rt", "time"] }
+tokio_with_wasm = { version = "0.8.2", features = ["macros", "sync"] }
uuid = { version = "1.13.1", features = ["js", "v4"] }
getrandom = { version = "0.2.15", features = ["js"] }
-stanza = { version = "0.1.0", path = "../stanza", features = ["rfc_7395", "xep_0156"] }
-web-sys = { version = "0.3", features = ["Request", "WebSocket", "RequestInit", "Request", "Window", "Response", "ErrorEvent"] }
+stanza = { version = "0.1.0", path = "../stanza", features = [
+ "rfc_7395",
+ "xep_0156",
+] }
+web-sys = { version = "0.3", features = [
+ "Request",
+ "WebSocket",
+ "RequestInit",
+ "Request",
+ "Window",
+ "Response",
+ "ErrorEvent",
+] }
js-sys = "0.3"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.50"