Skip to content

Commit

Permalink
Move OptionalQuery to axum_extra::query
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailantoshkin committed Nov 13, 2023
1 parent a8455e9 commit a10f6dc
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 197 deletions.
8 changes: 1 addition & 7 deletions axum-extra/src/extract/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ mod form;
#[cfg(feature = "cookie")]
pub mod cookie;

#[cfg(feature = "query")]
mod optional_query;

#[cfg(feature = "query")]
mod query;

Expand All @@ -34,10 +31,7 @@ pub use self::cookie::SignedCookieJar;
pub use self::form::{Form, FormRejection};

#[cfg(feature = "query")]
pub use self::optional_query::{OptionalQuery, OptionalQueryRejection};

#[cfg(feature = "query")]
pub use self::query::{Query, QueryRejection};
pub use self::query::{OptionalQuery, OptionalQueryRejection, Query, QueryRejection};

#[cfg(feature = "multipart")]
pub use self::multipart::Multipart;
Expand Down
189 changes: 0 additions & 189 deletions axum-extra/src/extract/optional_query.rs

This file was deleted.

Loading

0 comments on commit a10f6dc

Please sign in to comment.