diff --git a/Cargo.lock b/Cargo.lock index bc7a9b43..304e6888 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,7 +327,7 @@ dependencies = [ "time", "tokio", "tokio-stream", - "tokio-tungstenite", + "tokio-tungstenite 0.29.0", "tower 0.5.2", "tower-http 0.6.8", "tower-layer", @@ -1930,7 +1930,7 @@ dependencies = [ "axum", "futures", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.29.0", ] [[package]] @@ -2057,7 +2057,7 @@ dependencies = [ "futures-util", "headers", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.28.0", "tower-http 0.6.8", "tracing", "tracing-subscriber", @@ -5395,7 +5395,19 @@ dependencies = [ "futures-util", "log", "tokio", - "tungstenite", + "tungstenite 0.28.0", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f72a05e828585856dacd553fba484c242c46e391fb0e58917c942ee9202915c" +dependencies = [ + "futures-util", + "log", + "tokio", + "tungstenite 0.29.0", ] [[package]] @@ -5668,6 +5680,22 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c01152af293afb9c7c2a57e4b559c5620b421f6d133261c60dd2d0cdb38e6b8" +dependencies = [ + "bytes", + "data-encoding", + "http 1.3.1", + "httparse", + "log", + "rand 0.9.2", + "sha1", + "thiserror 2.0.16", +] + [[package]] name = "typed-builder" version = "0.20.1" diff --git a/axum/Cargo.toml b/axum/Cargo.toml index cbe70342..3a2967c3 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -83,7 +83,7 @@ serde_path_to_error = { version = "0.1.8", optional = true } serde_urlencoded = { version = "0.7", optional = true } sha1 = { version = "0.10", optional = true } tokio = { package = "tokio", version = "1.44", features = ["time"], optional = true } -tokio-tungstenite = { version = "0.28.0", optional = true } +tokio-tungstenite = { version = "0.29.0", optional = true } tracing = { version = "0.1", default-features = false, optional = true } # doc dependencies @@ -137,7 +137,7 @@ serde_json = { version = "1.0", features = ["raw_value"] } time = { version = "0.3", features = ["serde-human-readable"] } tokio = { package = "tokio", version = "1.44.2", features = ["macros", "rt", "rt-multi-thread", "net", "test-util"] } tokio-stream = "0.1" -tokio-tungstenite = "0.28.0" +tokio-tungstenite = "0.29.0" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["json"] } uuid = { version = "1.0", features = ["serde", "v4"] } diff --git a/examples/testing-websockets/Cargo.toml b/examples/testing-websockets/Cargo.toml index 04233dc9..16f1962f 100644 --- a/examples/testing-websockets/Cargo.toml +++ b/examples/testing-websockets/Cargo.toml @@ -8,4 +8,4 @@ publish = false axum = { path = "../../axum", features = ["ws"] } futures = "0.3" tokio = { version = "1.0", features = ["full"] } -tokio-tungstenite = "0.28" +tokio-tungstenite = "0.29"