diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index bcfe2906..1ebd21d1 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -8,8 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased - **change:** Update version of multer used internally for multipart ([#2433]) +- **change:** Update tokio-tungstenite to 0.21 ([#2435]) [#2433]: https://github.com/tokio-rs/axum/pull/2433 +[#2435]: https://github.com/tokio-rs/axum/pull/2435 # 0.7.2 (03. December, 2023) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 2bde57dd..3001c97f 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -61,7 +61,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.25.0", features = ["time"], optional = true } -tokio-tungstenite = { version = "0.20", optional = true } +tokio-tungstenite = { version = "0.21", optional = true } tracing = { version = "0.1", default-features = false, optional = true } [dependencies.tower-http] diff --git a/examples/testing-websockets/Cargo.toml b/examples/testing-websockets/Cargo.toml index 3c3513ad..842624c9 100644 --- a/examples/testing-websockets/Cargo.toml +++ b/examples/testing-websockets/Cargo.toml @@ -9,4 +9,4 @@ axum = { path = "../../axum", features = ["ws"] } futures = "0.3" hyper = { version = "1.0.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] } -tokio-tungstenite = "0.20" +tokio-tungstenite = "0.21" diff --git a/examples/websockets/Cargo.toml b/examples/websockets/Cargo.toml index 1cedfc27..f62a8b03 100644 --- a/examples/websockets/Cargo.toml +++ b/examples/websockets/Cargo.toml @@ -11,7 +11,7 @@ futures = "0.3" futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } headers = "0.4" tokio = { version = "1.0", features = ["full"] } -tokio-tungstenite = "0.20" +tokio-tungstenite = "0.21" tower = { version = "0.4", features = ["util"] } tower-http = { version = "0.5.0", features = ["fs", "trace"] } tracing = "0.1"