mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-19 00:00:14 +02:00
re-export axum_macros::TypedPath from axum_extra
This commit is contained in:
@@ -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"] }
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user