2021-11-25 11:14:31 +01:00
|
|
|
//! Additional extractors.
|
|
|
|
|
|
|
|
|
|
mod cached;
|
2024-10-14 22:45:37 +00:00
|
|
|
mod host;
|
2023-04-09 14:23:13 +02:00
|
|
|
mod optional_path;
|
2024-10-14 22:45:37 +00:00
|
|
|
pub mod rejection;
|
2023-04-09 14:23:13 +02:00
|
|
|
mod with_rejection;
|
2022-05-15 16:17:45 +01:00
|
|
|
|
|
|
|
|
#[cfg(feature = "form")]
|
|
|
|
|
mod form;
|
|
|
|
|
|
2022-03-04 10:53:36 +01:00
|
|
|
#[cfg(feature = "cookie")]
|
|
|
|
|
pub mod cookie;
|
2021-11-25 11:14:31 +01:00
|
|
|
|
2023-12-29 06:06:47 -05:00
|
|
|
#[cfg(feature = "json-deserializer")]
|
|
|
|
|
mod json_deserializer;
|
|
|
|
|
|
2022-05-17 20:19:24 +02:00
|
|
|
#[cfg(feature = "query")]
|
|
|
|
|
mod query;
|
|
|
|
|
|
2023-03-03 10:15:09 +01:00
|
|
|
#[cfg(feature = "multipart")]
|
|
|
|
|
pub mod multipart;
|
|
|
|
|
|
2024-10-14 22:45:37 +00:00
|
|
|
pub use self::{
|
|
|
|
|
cached::Cached, host::Host, optional_path::OptionalPath, with_rejection::WithRejection,
|
|
|
|
|
};
|
2022-03-04 10:53:36 +01:00
|
|
|
|
|
|
|
|
#[cfg(feature = "cookie")]
|
2022-04-27 10:11:16 +02:00
|
|
|
pub use self::cookie::CookieJar;
|
|
|
|
|
|
|
|
|
|
#[cfg(feature = "cookie-private")]
|
|
|
|
|
pub use self::cookie::PrivateCookieJar;
|
|
|
|
|
|
|
|
|
|
#[cfg(feature = "cookie-signed")]
|
|
|
|
|
pub use self::cookie::SignedCookieJar;
|
2022-05-15 16:17:45 +01:00
|
|
|
|
|
|
|
|
#[cfg(feature = "form")]
|
2022-11-08 21:31:06 +01:00
|
|
|
pub use self::form::{Form, FormRejection};
|
2022-05-17 20:19:24 +02:00
|
|
|
|
|
|
|
|
#[cfg(feature = "query")]
|
2023-11-18 21:38:30 +09:00
|
|
|
pub use self::query::{OptionalQuery, OptionalQueryRejection, Query, QueryRejection};
|
2022-06-20 20:49:18 +02:00
|
|
|
|
2023-03-03 10:15:09 +01:00
|
|
|
#[cfg(feature = "multipart")]
|
|
|
|
|
pub use self::multipart::Multipart;
|
|
|
|
|
|
2023-12-29 06:06:47 -05:00
|
|
|
#[cfg(feature = "json-deserializer")]
|
|
|
|
|
pub use self::json_deserializer::{
|
|
|
|
|
JsonDataError, JsonDeserializer, JsonDeserializerRejection, JsonSyntaxError,
|
|
|
|
|
MissingJsonContentType,
|
|
|
|
|
};
|
|
|
|
|
|
2022-06-20 20:49:18 +02:00
|
|
|
#[cfg(feature = "json-lines")]
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use crate::json_lines::JsonLines;
|
2023-04-11 16:09:48 +02:00
|
|
|
|
|
|
|
|
#[cfg(feature = "typed-header")]
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use crate::typed_header::TypedHeader;
|