Upgrade tokio-tungstenite to 0.21 (#2435)

This commit is contained in:
Fujiwara Takumi 2023-12-18 22:13:35 +08:00 committed by GitHub
parent 12676aabea
commit 2f585ac9b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -8,8 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased # Unreleased
- **change:** Update version of multer used internally for multipart ([#2433]) - **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 [#2433]: https://github.com/tokio-rs/axum/pull/2433
[#2435]: https://github.com/tokio-rs/axum/pull/2435
# 0.7.2 (03. December, 2023) # 0.7.2 (03. December, 2023)

View file

@ -61,7 +61,7 @@ serde_path_to_error = { version = "0.1.8", optional = true }
serde_urlencoded = { version = "0.7", optional = true } serde_urlencoded = { version = "0.7", optional = true }
sha1 = { version = "0.10", optional = true } sha1 = { version = "0.10", optional = true }
tokio = { package = "tokio", version = "1.25.0", features = ["time"], 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 } tracing = { version = "0.1", default-features = false, optional = true }
[dependencies.tower-http] [dependencies.tower-http]

View file

@ -9,4 +9,4 @@ axum = { path = "../../axum", features = ["ws"] }
futures = "0.3" futures = "0.3"
hyper = { version = "1.0.0", features = ["full"] } hyper = { version = "1.0.0", features = ["full"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-tungstenite = "0.20" tokio-tungstenite = "0.21"

View file

@ -11,7 +11,7 @@ futures = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
headers = "0.4" headers = "0.4"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-tungstenite = "0.20" tokio-tungstenite = "0.21"
tower = { version = "0.4", features = ["util"] } tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5.0", features = ["fs", "trace"] } tower-http = { version = "0.5.0", features = ["fs", "trace"] }
tracing = "0.1" tracing = "0.1"