Tweak tower dependency in axum-extra (#666)

Fixes https://github.com/tokio-rs/axum/issues/659
This commit is contained in:
David Pedersen 2021-12-27 23:28:58 +01:00 committed by GitHub
parent a3e19465ac
commit de37a3e737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
- None.
- **fix:** Depend on tower with `default_features = false` ([#666])
[#666]: https://github.com/tokio-rs/axum/pull/666
# 0.1.1 (27. December, 2021)

View File

@ -18,7 +18,7 @@ axum = { path = "../axum", version = "0.4" }
http = "0.2"
mime = "0.3"
pin-project-lite = "0.2"
tower = { version = "0.4", features = ["util"] }
tower = { version = "0.4", default_features = false, features = ["util"] }
tower-http = { version = "0.2", features = ["util", "map-response-body"] }
tower-layer = "0.3"
tower-service = "0.3"