axum-extra-v0.12.3

Universal-Debloater-Alliance/universal-android-debloater-next-generationaxum-extra-v0.12.3Dec 20, 2025by jplatte

AI Summary

Updates to routing features, JSON formatting, and file streaming to fix integer underflow issues.

Key Highlights

  • typed-routing feature now enables routing feature
  • Trailing newline added to JSON pretty printing
  • Fixed integer underflow in FileStream for empty files

New Features

  • Make typed-routing feature enable routing
  • Add trailing newline to ErasedJson::pretty
  • Fix integer underflow in FileStream::try_range_response

Full Release Notes

- **changed:** Make the `typed-routing` feature enable the `routing` feature ([#3514])
- **changed:** Add trailing newline to `ErasedJson::pretty` response bodies ([#3526])
- **fixed:** Fix integer underflow in `FileStream::try_range_response` for empty files ([#3566])

[#3514]: https://github.com/tokio-rs/axum/pull/3514
[#3526]: https://github.com/tokio-rs/axum/pull/3526
[#3566]: https://github.com/tokio-rs/axum/pull/3566