mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Add an Attachment type to axum-extra (#2789)
This commit is contained in:
@@ -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])*
|
||||
|
||||
Reference in New Issue
Block a user