immortal_axum_macro

Crates.ioimmortal_axum_macro
lib.rsimmortal_axum_macro
version0.3.0
sourcesrc
created_at2024-04-11 12:39:46.950394
updated_at2024-06-15 07:22:22.366307
descriptiona simple into response derive for axum
homepage
repositoryhttps://github.com/LyunKi/into-response-derive
max_upload_size
id1204800
size3,138
(LyunKi)

documentation

README

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>,
}
Commit count: 5

cargo fmt