Add an Attachment type to axum-extra (#2789)

This commit is contained in:
joeydewaal
2024-06-19 14:28:15 +02:00
committed by GitHub
parent 806bc26e62
commit fcb45b8d32
8 changed files with 119 additions and 10 deletions
+6
View File
@@ -3,6 +3,9 @@
#[cfg(feature = "erased-json")]
mod erased_json;
#[cfg(feature = "attachment")]
mod attachment;
#[cfg(feature = "erased-json")]
pub use erased_json::ErasedJson;
@@ -10,6 +13,9 @@ pub use erased_json::ErasedJson;
#[doc(no_inline)]
pub use crate::json_lines::JsonLines;
#[cfg(feature = "attachment")]
pub use attachment::Attachment;
macro_rules! mime_response {
(
$(#[$m:meta])*