Axum 0.8.0 Released: Path Parameter Syntax and Optional Extractor Improvements
2025-01-05
Axum 0.8.0 is out! This Rust web framework built with Tokio, Tower, and Hyper boasts significant updates. The most notable changes include an altered path parameter syntax (from `/single` and `/*many` to `/{single}` and `/{*many}`) and improvements to `Option` extractors, enabling more flexible handling of optional parameters and errors. Additionally, due to Rust language feature updates, the `#[async_trait]` macro is no longer needed. These improvements enhance Axum's usability and flexibility, but also introduce breaking changes; careful migration is advised. Consult the changelog for details.
Read more
(tokio.rs)
Development