mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Add a separate trait for optional extractors (#2475)
This commit is contained in:
@@ -24,9 +24,9 @@ pub mod multipart;
|
||||
#[cfg(feature = "scheme")]
|
||||
mod scheme;
|
||||
|
||||
pub use self::{
|
||||
cached::Cached, host::Host, optional_path::OptionalPath, with_rejection::WithRejection,
|
||||
};
|
||||
#[allow(deprecated)]
|
||||
pub use self::optional_path::OptionalPath;
|
||||
pub use self::{cached::Cached, host::Host, with_rejection::WithRejection};
|
||||
|
||||
#[cfg(feature = "cookie")]
|
||||
pub use self::cookie::CookieJar;
|
||||
@@ -41,7 +41,10 @@ pub use self::cookie::SignedCookieJar;
|
||||
pub use self::form::{Form, FormRejection};
|
||||
|
||||
#[cfg(feature = "query")]
|
||||
pub use self::query::{OptionalQuery, OptionalQueryRejection, Query, QueryRejection};
|
||||
#[allow(deprecated)]
|
||||
pub use self::query::OptionalQuery;
|
||||
#[cfg(feature = "query")]
|
||||
pub use self::query::{OptionalQueryRejection, Query, QueryRejection};
|
||||
|
||||
#[cfg(feature = "multipart")]
|
||||
pub use self::multipart::Multipart;
|
||||
|
||||
Reference in New Issue
Block a user