axum-extra: Make axum optional dependency (#3485)

This commit is contained in:
tottoto
2025-09-20 22:50:56 +02:00
committed by GitHub
parent 40e9d7b22a
commit d184798937
24 changed files with 90 additions and 46 deletions
@@ -6,7 +6,7 @@ publish = false
[dependencies]
axum = { path = "../../axum", features = ["macros"] }
axum-extra = { path = "../../axum-extra" }
axum-extra = { path = "../../axum-extra", features = ["with-rejection"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"