into_response_derive 0.2.0

a simple into response derive for axum
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.85 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 267.91 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • LyunKi/into-response-derive
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LyunKi

a simple proc macro for Axum IntoResponse trait

#[derive(Serialize, Deserialize, IntoResponse, Debug)]
pub struct ErrorResponse {
    pub code: String,
    pub msg: String,
    pub errors: Vec<ErrorResponse>,
}