mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Clean up axum-extra'a new error-response feature (#3057)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
//! `cookie-signed` | Enables the [`SignedCookieJar`](crate::extract::SignedCookieJar) extractor | No
|
||||
//! `cookie-key-expansion` | Enables the [`Key::derive_from`](crate::extract::cookie::Key::derive_from) method | No
|
||||
//! `erased-json` | Enables the [`ErasedJson`](crate::response::ErasedJson) response | No
|
||||
//! `error-response` | Enables the [`InternalServerError`](crate::response::InternalServerError) response | No
|
||||
//! `form` | Enables the [`Form`](crate::extract::Form) extractor | No
|
||||
//! `json-deserializer` | Enables the [`JsonDeserializer`](crate::extract::JsonDeserializer) extractor | No
|
||||
//! `json-lines` | Enables the [`JsonLines`](crate::extract::JsonLines) extractor and response | No
|
||||
|
||||
@@ -9,10 +9,10 @@ mod attachment;
|
||||
#[cfg(feature = "multipart")]
|
||||
pub mod multiple;
|
||||
|
||||
#[cfg(feature = "error_response")]
|
||||
#[cfg(feature = "error-response")]
|
||||
mod error_response;
|
||||
|
||||
#[cfg(feature = "error_response")]
|
||||
#[cfg(feature = "error-response")]
|
||||
pub use error_response::InternalServerError;
|
||||
|
||||
#[cfg(feature = "erased-json")]
|
||||
|
||||
Reference in New Issue
Block a user