Crate features / axum-macros
Feature flags · axum-macros 0.5.1 · from crates.io 2026-10-24
axum-macros features: what each one does, and the line to copy
Short answeraxum-macros 0.5.1 has 1 feature. Nothing is on by default: turn on what you use. It needs Rust 1.80 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
__private | syn/visit-mut |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version axum-macros declares (rust-version), and the release that changed it:
- 0.3.0-rc.1 (2022-08-23): Rust 1.60
- 0.4.0 (2023-11-27): Rust 1.66
- 0.5.0-alpha.1 (2024-10-05): Rust 1.75
- 0.5.1 (2026-04-14): Rust 1.80
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p axum-macros --precise <version>, or use resolver 3, which picks compatible versions for you.
More on axum-macros
Real downloads, dependents and alternatives: axum-macros crate data (369.9K real downloads a day, 75 dependents).
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itaxum-macros crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?