Upgrade tower and tower-http

This commit is contained in:
Jonas Platte 2024-09-20 19:43:38 +02:00
parent 680cdcba7c
commit 652e59b0c0
3 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ tower-layer = "0.3"
tower-service = "0.3" tower-service = "0.3"
# optional dependencies # optional dependencies
tower-http = { version = "0.5.0", optional = true, features = ["limit"] } tower-http = { version = "0.6.0", optional = true, features = ["limit"] }
tracing = { version = "0.1.37", default-features = false, optional = true } tracing = { version = "0.1.37", default-features = false, optional = true }
[dev-dependencies] [dev-dependencies]
@ -41,7 +41,7 @@ axum-extra = { path = "../axum-extra", features = ["typed-header"] }
futures-util = { version = "0.3", default-features = false, features = ["alloc"] } futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
hyper = "1.0.0" hyper = "1.0.0"
tokio = { version = "1.25.0", features = ["macros"] } tokio = { version = "1.25.0", features = ["macros"] }
tower-http = { version = "0.5.0", features = ["limit"] } tower-http = { version = "0.6.0", features = ["limit"] }
[package.metadata.cargo-public-api-crates] [package.metadata.cargo-public-api-crates]
allowed = [ allowed = [

View File

@ -49,7 +49,7 @@ http-body-util = "0.1.0"
mime = "0.3" mime = "0.3"
pin-project-lite = "0.2" pin-project-lite = "0.2"
serde = "1.0" serde = "1.0"
tower = { version = "0.4", default-features = false, features = ["util"] } tower = { version = "0.5.1", default-features = false, features = ["util"] }
tower-layer = "0.3" tower-layer = "0.3"
tower-service = "0.3" tower-service = "0.3"
@ -76,8 +76,8 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "str
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.71" serde_json = "1.0.71"
tokio = { version = "1.14", features = ["full"] } tokio = { version = "1.14", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }
tower-http = { version = "0.5.0", features = ["map-response-body", "timeout"] } tower-http = { version = "0.6.0", features = ["map-response-body", "timeout"] }
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true

View File

@ -57,7 +57,7 @@ pin-project-lite = "0.2.7"
rustversion = "1.0.9" rustversion = "1.0.9"
serde = "1.0" serde = "1.0"
sync_wrapper = "1.0.0" sync_wrapper = "1.0.0"
tower = { version = "0.4.13", default-features = false, features = ["util"] } tower = { version = "0.5.1", default-features = false, features = ["util"] }
tower-layer = "0.3.2" tower-layer = "0.3.2"
tower-service = "0.3" tower-service = "0.3"
@ -76,7 +76,7 @@ tokio-tungstenite = { version = "0.23", 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]
version = "0.5.0" version = "0.6.0"
optional = true optional = true
features = [ features = [
# all tower-http features except (de)?compression-zstd which doesn't # all tower-http features except (de)?compression-zstd which doesn't
@ -132,7 +132,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies.tower] [dev-dependencies.tower]
package = "tower" package = "tower"
version = "0.4.10" version = "0.5.1"
features = [ features = [
"util", "util",
"timeout", "timeout",
@ -143,7 +143,7 @@ features = [
] ]
[dev-dependencies.tower-http] [dev-dependencies.tower-http]
version = "0.5.0" version = "0.6.0"
features = [ features = [
# all tower-http features except (de)?compression-zstd which doesn't # all tower-http features except (de)?compression-zstd which doesn't
# build on `--target armv5te-unknown-linux-musleabi` # build on `--target armv5te-unknown-linux-musleabi`