Skip to content

Commit f09f50c

Browse files
authored
axum-extra: Remove unused tower dependency (#3486)
1 parent d184798 commit f09f50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axum-extra/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ with-rejection = ["dep:axum"]
9090

9191
# Enabled by docs.rs because it uses all-features
9292
# Enables upstream things linked to in docs
93-
__private_docs = ["axum/json", "dep:serde"]
93+
__private_docs = ["axum/json", "dep:serde", "dep:tower"]
9494

9595
[dependencies]
9696
axum-core = { path = "../axum-core", version = "0.5.2" }
@@ -104,7 +104,6 @@ mime = "0.3"
104104
pin-project-lite = "0.2"
105105
rustversion = "1.0.9"
106106
serde_core = "1.0.221"
107-
tower = { version = "0.5.2", default-features = false, features = ["util"] }
108107
tower-layer = "0.3"
109108
tower-service = "0.3"
110109

@@ -129,6 +128,7 @@ typed-json = { version = "0.1.1", optional = true }
129128

130129
# doc dependencies
131130
serde = { version = "1.0.221", optional = true }
131+
tower = { version = "0.5.2", default-features = false, features = ["util"], optional = true }
132132

133133
[dev-dependencies]
134134
axum = { path = "../axum", features = ["macros", "__private"] }

0 commit comments

Comments
 (0)