From de37a3e737d4b70633c1a68ace7c3b4c620bccce Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Mon, 27 Dec 2021 23:28:58 +0100 Subject: [PATCH] Tweak tower dependency in axum-extra (#666) Fixes https://github.com/tokio-rs/axum/issues/659 --- axum-extra/CHANGELOG.md | 4 +++- axum-extra/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index 8d8862fc..6db113c1 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -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) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 6d91e918..2cb56340 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -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"