Clean up axum-extra'a new error-response feature (#3057)

This commit is contained in:
Jonas Platte
2024-12-01 11:44:43 +01:00
committed by GitHub
parent 84c3960639
commit f6379558e6
4 changed files with 7 additions and 3 deletions
+1
View File
@@ -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
+2 -2
View File
@@ -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")]