diff --git a/Cargo.lock b/Cargo.lock index 77046bc729e..65cb06c5d5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2257,7 +2257,7 @@ dependencies = [ "tokio", "tokio-rustls", "tokio-stream", - "tokio-tungstenite 0.24.0", + "tokio-tungstenite", "tokio-tungstenite-wasm", "tokio-util", "tracing", @@ -2538,7 +2538,7 @@ dependencies = [ "tokio", "tokio-rustls", "tokio-rustls-acme", - "tokio-tungstenite 0.24.0", + "tokio-tungstenite", "tokio-tungstenite-wasm", "tokio-util", "toml", @@ -5054,19 +5054,7 @@ dependencies = [ "futures-util", "log", "tokio", - "tungstenite 0.21.0", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" -dependencies = [ - "futures-util", - "log", - "tokio", - "tungstenite 0.24.0", + "tungstenite", ] [[package]] @@ -5082,7 +5070,7 @@ dependencies = [ "js-sys", "thiserror 1.0.69", "tokio", - "tokio-tungstenite 0.21.0", + "tokio-tungstenite", "wasm-bindgen", "web-sys", ] @@ -5308,24 +5296,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tungstenite" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a" -dependencies = [ - "byteorder", - "bytes", - "data-encoding", - "http 1.1.0", - "httparse", - "log", - "rand", - "sha1", - "thiserror 1.0.69", - "utf-8", -] - [[package]] name = "typenum" version = "1.17.0" diff --git a/iroh-relay/Cargo.toml b/iroh-relay/Cargo.toml index 7c21715f98d..4bbf92d8a6d 100644 --- a/iroh-relay/Cargo.toml +++ b/iroh-relay/Cargo.toml @@ -83,7 +83,7 @@ tokio-rustls = { version = "0.26", default-features = false, features = [ "ring", ] } tokio-rustls-acme = { version = "0.6", optional = true } -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.21" # avoid duplicating this dependency as long as tokio-tungstenite-wasm isn't updated tokio-tungstenite-wasm = "0.3" tokio-util = { version = "0.7", features = ["io-util", "io", "codec", "rt"] } toml = { version = "0.8", optional = true } diff --git a/iroh/Cargo.toml b/iroh/Cargo.toml index 15dafae9b47..d79fde0bad7 100644 --- a/iroh/Cargo.toml +++ b/iroh/Cargo.toml @@ -97,7 +97,7 @@ tokio-rustls = { version = "0.26", default-features = false, features = [ "ring", ] } tokio-stream = { version = "0.1.15" } -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.21" # avoid duplicating this dependency as long as tokio-tungstenite-wasm isn't updated tokio-tungstenite-wasm = "0.3" tokio-util = { version = "0.7", features = ["io-util", "io", "codec", "rt"] } tracing = "0.1"