Move the Host extractor to axum-extra (#2956)

This commit is contained in:
Jonas Platte
2024-10-14 22:45:37 +00:00
committed by GitHub
parent 24d24f4ccb
commit 0ddc63f77e
10 changed files with 38 additions and 29 deletions
+5 -1
View File
@@ -1,7 +1,9 @@
//! Additional extractors.
mod cached;
mod host;
mod optional_path;
pub mod rejection;
mod with_rejection;
#[cfg(feature = "form")]
@@ -19,7 +21,9 @@ mod query;
#[cfg(feature = "multipart")]
pub mod multipart;
pub use self::{cached::Cached, optional_path::OptionalPath, with_rejection::WithRejection};
pub use self::{
cached::Cached, host::Host, optional_path::OptionalPath, with_rejection::WithRejection,
};
#[cfg(feature = "cookie")]
pub use self::cookie::CookieJar;