Remove dependency on `tower-http`'s `add-extension` feature (#580)

It is not currently being used, since `axum/src/add_extension.rs` "is
vendored from `tower-http` to reduce public dependencies".
This commit is contained in:
david-perez 2021-11-30 14:22:50 +01:00 committed by GitHub
parent 0c3e4a6f3d
commit f95c974406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ sync_wrapper = "0.1.1"
tokio = { version = "1", features = ["time"] }
tokio-util = "0.6"
tower = { version = "0.4.11", default-features = false, features = ["util", "buffer", "make"] }
tower-http = { version = "0.1", features = ["add-extension", "map-response-body"] }
tower-http = { version = "0.1", features = ["map-response-body"] }
tower-layer = "0.3"
tower-service = "0.3"