re-export axum_macros::TypedPath from axum_extra

This commit is contained in:
David Pedersen
2022-02-13 21:31:56 +01:00
parent 9f5dbfd83a
commit 1b7326e9de
6 changed files with 71 additions and 19 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ repository = "https://github.com/tokio-rs/axum"
version = "0.1.2"
[features]
default = []
erased-json = ["serde_json"]
typed-routing = ["axum-macros"]
[dependencies]
axum = { path = "../axum", version = "0.4" }
@@ -26,10 +28,10 @@ tower-layer = "0.3"
tower-service = "0.3"
# optional dependencies
axum-macros = { path = "../axum-macros", version = "0.1", optional = true }
serde_json = { version = "1.0.71", optional = true }
[dev-dependencies]
axum-macros = { path = "../axum-macros", version = "0.1" }
hyper = "0.14"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.14", features = ["full"] }