mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
revert(axum-extra): Removed with_rejection feat
This commit is contained in:
@@ -32,7 +32,6 @@ protobuf = ["dep:prost"]
|
||||
query = ["dep:serde", "dep:serde_html_form"]
|
||||
spa = ["tower-http/fs"]
|
||||
typed-routing = ["dep:axum-macros", "dep:serde", "dep:percent-encoding"]
|
||||
with_rejection = []
|
||||
|
||||
[dependencies]
|
||||
axum = { path = "../axum", version = "0.5", default-features = false }
|
||||
|
||||
@@ -11,7 +11,6 @@ pub mod cookie;
|
||||
#[cfg(feature = "query")]
|
||||
mod query;
|
||||
|
||||
#[cfg(feature = "with_rejection")]
|
||||
mod with_rejection;
|
||||
|
||||
pub use self::cached::Cached;
|
||||
@@ -35,5 +34,4 @@ pub use self::query::Query;
|
||||
#[doc(no_inline)]
|
||||
pub use crate::json_lines::JsonLines;
|
||||
|
||||
#[cfg(feature = "with_rejection")]
|
||||
pub use self::with_rejection::WithRejection;
|
||||
|
||||
Reference in New Issue
Block a user