Nesting and more flexible routing dsl

This commit is contained in:
David Pedersen
2021-06-06 20:30:54 +02:00
parent b4e2750d6a
commit 1609191a74
3 changed files with 245 additions and 238 deletions
+2 -2
View File
@@ -569,7 +569,7 @@ pub mod service;
#[doc(inline)]
pub use self::{
handler::{get, on, post, Handler},
routing::AddRoute,
routing::RoutingDsl,
};
pub use async_trait::async_trait;
@@ -581,7 +581,7 @@ pub mod prelude {
extract,
handler::{get, on, post, Handler},
response, route,
routing::AddRoute,
routing::RoutingDsl,
};
pub use http::Request;
}