mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
expose FromRequest and FromRequestParts macros in axum (#1352)
This commit is contained in:
@@ -18,6 +18,9 @@ mod state;
|
||||
#[doc(inline)]
|
||||
pub use axum_core::extract::{DefaultBodyLimit, FromRef, FromRequest, FromRequestParts};
|
||||
|
||||
#[cfg(feature = "macros")]
|
||||
pub use axum_macros::{FromRequest, FromRequestParts};
|
||||
|
||||
#[doc(inline)]
|
||||
#[allow(deprecated)]
|
||||
pub use self::{
|
||||
|
||||
Reference in New Issue
Block a user