mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
axum-extra: Remove unused tower dependency (#3486)
This commit is contained in:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user