PackageTrack
Sign in Get early access

axum-macros

Macros for axum

0.5.1 111M downloads/mo #755 most downloaded on crates.io tokio-rs/axum

What this package is like to depend on

Last release 4 months ago

14 Apr 2026

Ships unpredictably

gaps range from 9 days to 1.3 years

Nearly every release is documented

notes for 21 of 22 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

27 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

27 releases · Aug 2021 to Apr 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 27
  1. 0.5.1 14 Apr 2026
    Release notes
    • fixed: Fix compilation error when deriving TypedPath with OptionalFromRequestParts being in scope (#3645)
    Open source →
    Release notes
    • fixed: Fix compilation error when deriving TypedPath with OptionalFromRequestParts being in scope (#3645)
    Open source →
  2. 0.5.0 01 Jan 2025
    Release notes

    No changes since alpha.1

    full changelog

    • breaking: Update code generation for axum-core 0.5.0
    • change: Update minimum rust version to 1.75 (#2943)

    alpha.1

    • breaking: Update code generation for axum-core 0.5.0-alpha.1
    • change: Update minimum rust version to 1.75 (#2943)
    Open source →
  3. 0.5.0-rc.1 17 Dec 2024 pre-release

    Nothing published for this version

  4. 0.5.0-alpha.1 05 Oct 2024 pre-release

    Nothing published for this version

  5. 0.4.2 20 Sep 2024
    Release notes
    Open source →
  6. 0.4.1 13 Jan 2024
    Release notes
    • fixed: Improve debug_handler on tuple response types (#2201)
    Open source →
  7. 0.4.0 27 Nov 2023
    Release notes
    • breaking: #[debug_handler] no longer accepts a body = _ argument. The body type is always axum::body::Body (#1751)
    • fixed: Fix rust-version specific in Cargo.toml (#2204)
    Open source →
  8. 0.3.8 17 Jul 2023
    Release notes
    • fixed: Allow unreachable code in #[debug_handler] (#2014)
    Open source →
  9. 0.3.7 22 Mar 2023
    Release notes
    • change: Update to syn 2.0 (#1862)
    • fixed: Give better error if generics are used with #[derive(FromRef)] (#1874)
    Open source →
  10. 0.3.6 13 Mar 2023
    Release notes
    • fixed: Improve #[debug_handler] message for known generic request-consuming extractors (#1826)
    Open source →
  11. 0.3.5 03 Mar 2023
    Release notes
    • fixed: In #[debug_handler] provide specific errors about FromRequest extractors not being the last argument (#1797)
    Open source →
  12. 0.3.4 12 Feb 2023
    Release notes
    • fixed: Fix #[derive(FromRef)] with Copy fields generating clippy warnings (#1749)
    Open source →
  13. 0.3.3 11 Feb 2023
    Release notes
    • fixed: Fix #[debug_handler] sometimes giving wrong borrow related suggestions (#1710)
    Open source →
  14. 0.3.2 24 Jan 2023
    Release notes
    • No public API changes.
    Open source →
  15. 0.3.1 09 Jan 2023
    Release notes
    • fixed: Fix warnings for cloning references in generated code (#1676)
    Open source →
  16. 0.3.0 25 Nov 2022
    Release notes
    • 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)

    <details> <summary>0.3.0 Pre-Releases</summary>

    Open source →
  17. 0.3.0-rc.3 18 Nov 2022 pre-release
    Release notes
    • added: Add #[from_ref(skip)] to skip implementing FromRef for individual fields (#1537)
    Open source →
  18. 0.3.0-rc.2 09 Nov 2022 pre-release
    Release notes
    • added: Add #[derive(FromRef)] (#1430)
    Open source →
  19. 0.3.0-rc.1 23 Aug 2022 pre-release
    Release notes
    • change: axum-macro's MSRV is now 1.60 (#1239)
    • added: Support using a different rejection for #[derive(FromRequest)] with #[from_request(rejection(MyRejection))] (#1256)
    • 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)
    • added: Add #[derive(FromRequestParts)] for deriving an implementation of FromRequestParts, similarly to #[derive(FromRequest)] (#1305)

    </details>

    Open source →
  20. 0.2.3 27 Jun 2022
    Release notes
    • change: axum-macros's MSRV is now 1.56 (#1098)
    • fixed: Silence "unnecessary use of to_string" lint for #[derive(TypedPath)] (#1117)
    Open source →
  21. 0.2.2 18 May 2022
    Release notes
    • added: In debug_handler, check if Request is used as non-final extractor (#1035)
    • added: In debug_handler, check if multiple Path extractors are used (#1035)
    • added: In debug_handler, check if multiple body extractors are used (#1036)
    • added: Support customizing rejections for #[derive(TypedPath)] (#1012)
    Open source →
  22. 0.2.1 10 May 2022
    Release notes
    • fixed: Option and Result are now supported in typed path route handler parameters (#1001)
    • fixed: Support wildcards in typed paths (#1003)
    • added: Support #[derive(FromRequest)] on enums using #[from_request(via(OtherExtractor))] (#1009)
    • added: Support using a custom rejection type for #[derive(TypedPath)] instead of PathRejection (#1012)
    Open source →
  23. 0.2.0 31 Mar 2022
    Release notes
    • breaking: Routes are now required to start with /. Previously empty routes or routes such as :foo would be accepted but most likely result in bugs (#823)
    Open source →
  24. 0.1.2 01 Mar 2022
    Release notes
    • fixed: Use fully qualified Result type (#796)
    Open source →
  25. 0.1.1 22 Feb 2022
    Release notes
    • Add #[derive(TypedPath)] for use with axum-extra's new "type safe" routing API (#756)
    Open source →
  26. 0.1.0 31 Jan 2022
    Release notes
    • Initial release.
    Open source →
  27. 0.0.0 21 Aug 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive