Skip to content

Commit

Permalink
Upgrade tower and tower-http
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Sep 20, 2024
1 parent 680cdcb commit b82fc3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions axum-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tower-layer = "0.3"
tower-service = "0.3"

# 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 }

[dev-dependencies]
Expand All @@ -41,7 +41,7 @@ axum-extra = { path = "../axum-extra", features = ["typed-header"] }
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
hyper = "1.0.0"
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]
allowed = [
Expand Down
6 changes: 3 additions & 3 deletions axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ http-body-util = "0.1.0"
mime = "0.3"
pin-project-lite = "0.2"
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-service = "0.3"

Expand All @@ -76,8 +76,8 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "str
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.71"
tokio = { version = "1.14", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5.0", features = ["map-response-body", "timeout"] }
tower = { version = "0.5.1", features = ["util"] }
tower-http = { version = "0.6.0", features = ["map-response-body", "timeout"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
8 changes: 4 additions & 4 deletions axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pin-project-lite = "0.2.7"
rustversion = "1.0.9"
serde = "1.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-service = "0.3"

Expand All @@ -76,7 +76,7 @@ tokio-tungstenite = { version = "0.23", optional = true }
tracing = { version = "0.1", default-features = false, optional = true }

[dependencies.tower-http]
version = "0.5.0"
version = "0.6.0"
optional = true
features = [
# all tower-http features except (de)?compression-zstd which doesn't
Expand Down Expand Up @@ -132,7 +132,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dev-dependencies.tower]
package = "tower"
version = "0.4.10"
version = "0.5.1"
features = [
"util",
"timeout",
Expand All @@ -143,7 +143,7 @@ features = [
]

[dev-dependencies.tower-http]
version = "0.5.0"
version = "0.6.0"
features = [
# all tower-http features except (de)?compression-zstd which doesn't
# build on `--target armv5te-unknown-linux-musleabi`
Expand Down

0 comments on commit b82fc3c

Please sign in to comment.