axum-rust
Installation
SKILL.md
Axum Rust
Use these conventions for Rust web services built with tokio-rs/axum.
Source Baseline
- Prefer the released API from
docs.rs/axumand crates.io. - Treat the GitHub
mainbranch carefully: it can contain breaking changes toward the next major/minor release. For released behavior, use the matching release branch such asv0.8.x. - Axum is designed for Tokio and hyper; runtime independence is not a goal.
- Axum is a thin, safe Rust layer on hyper and uses Tower for middleware and services.
Cargo
Start with narrow features, then add only what the app uses: