expose FromRequest and FromRequestParts macros in axum (#1352)

This commit is contained in:
Ferenc Tamás
2022-09-18 19:46:04 +02:00
committed by GitHub
parent c09ecefcab
commit 84f58ae9a5
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -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::{