diff options
Diffstat (limited to 'luz/Cargo.toml')
-rw-r--r-- | luz/Cargo.toml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/luz/Cargo.toml b/luz/Cargo.toml index 0543768..4ab1a6e 100644 --- a/luz/Cargo.toml +++ b/luz/Cargo.toml @@ -24,7 +24,7 @@ rsasl = { version = "2.0.1", default-features = false, features = [ tokio = { workspace = true, features = ["io-util"] } tracing = "0.1.40" try_map = "0.3.1" -stanza = { version = "0.1.0", path = "../stanza" } +stanza = { version = "0.1.0", path = "../stanza", features = ["xep_0156"] } peanuts = { version = "0.1.0", git = "https://bunny.garden/peanuts" } # peanuts = { version = "0.1.0", path = "../../peanuts" } jid = { version = "0.1.0", path = "../jid" } @@ -35,13 +35,14 @@ pin-project = "1.1.7" thiserror = "2.0.11" [target.'cfg(target_arch = "wasm32")'.dependencies] -tokio = { workspace = true, features = ["io-util", "sync"] } +tokio = { workspace = true, features = ["io-util", "sync", "macros"] } 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"] } -web-sys = { version = "0.3", features = ["Request", "WebSocket"] } +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" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { workspace = true, features = ["io-util", "sync"] } |