axum-core-version-migration
Installation
SKILL.md
axum-core-version-migration
This skill is the migration reference for moving an Axum project from version 0.7 to version 0.8. Axum 0.7.0 released 2023-11-27; Axum 0.8.0 released 2024-12-02. The upgrade has one panic-at-startup change (path syntax) and several compile-time changes. Every breaking change is mechanical and individually verifiable.
When To Use This Skill
- Bumping
axum = "0.7"toaxum = "0.8"inCargo.toml - An Axum app that ran on 0.7 panics at startup after the version bump
- Code stopped compiling after
cargo update -p axum - A custom extractor no longer compiles (the
#[async_trait]change) - WebSocket code fails to compile (the
Messagepayload type change) - Deciding whether a path string or example targets 0.7 or 0.8