From 0c664934747cc5fad928825c556169da9192a470 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sun, 21 Sep 2025 05:57:04 +0900 Subject: [PATCH] axum-extra: Remove unused tower dependency (#3486) --- axum-extra/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 6b5ff6e3..03ae4f02 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -44,7 +44,7 @@ typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form # Enabled by docs.rs because it uses all-features # Enables upstream things linked to in docs -__private_docs = ["axum/json", "dep:serde"] +__private_docs = ["axum/json", "dep:serde", "dep:tower"] [dependencies] axum = { path = "../axum", version = "0.8.4", default-features = false, features = ["original-uri"] } @@ -58,7 +58,6 @@ mime = "0.3" pin-project-lite = "0.2" rustversion = "1.0.9" serde_core = "1.0.221" -tower = { version = "0.5.2", default-features = false, features = ["util"] } tower-layer = "0.3" tower-service = "0.3" @@ -82,6 +81,7 @@ typed-json = { version = "0.1.1", optional = true } # doc dependencies serde = { version = "1.0.221", optional = true } +tower = { version = "0.5.2", default-features = false, features = ["util"], optional = true } [dev-dependencies] axum = { path = "../axum", features = ["macros", "__private"] }