github tokio-rs/axum axum-macros-v0.3.0
axum-macros - v0.3.0

latest releases: axum-v0.7.9, axum-extra-v0.9.6, axum-v0.7.8...
24 months ago
  • added: Add #[derive(FromRequestParts)] for deriving an implementation of
    FromRequestParts, similarly to #[derive(FromRequest)] (#1305)
  • added: Add #[derive(FromRef)] (#1430)
  • added: Add #[from_ref(skip)] to skip implementing FromRef for individual fields (#1537)
  • added: Support using a different rejection for #[derive(FromRequest)]
    with #[from_request(rejection(MyRejection))] (#1256)
  • change: axum-macro's MSRV is now 1.60 (#1239)
  • breaking: #[derive(FromRequest)] will no longer generate a rejection
    enum but instead generate type Rejection = axum::response::Response. Use the
    new #[from_request(rejection(MyRejection))] attribute to change this.
    The rejection_derive attribute has also been removed (#1272)

Don't miss a new axum release

NewReleases is sending notifications on new releases.