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
+1 -2
View File
@@ -8,6 +8,5 @@ publish = false
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
axum-macros = { path = "../../axum-macros" }
axum-extra = { path = "../../axum-extra" }
axum-extra = { path = "../../axum-extra", features = ["typed-routing"] }
serde = { version = "1.0", features = ["derive"] }
+1 -2
View File
@@ -7,8 +7,7 @@
// Just using this file for manual testing. Will be cleaned up before an eventual merge
use axum::{response::IntoResponse, Router};
use axum_extra::routing::RouterExt;
use axum_macros::TypedPath;
use axum_extra::routing::{RouterExt, TypedPath};
use serde::Deserialize;
#[tokio::main]