axum-v0.7.4

tokio-rs/axumaxum-v0.7.4Jan 13, 2024by davidpdrsn

AI Summary

Addresses a performance regression present since version 0.7.0 and improves the `debug_handler` macro's support for tuple response types.

Key Highlights

  • Fixes performance regression introduced in v0.7.0
  • Improved `debug_handler` support for tuple response types
  • Added `must_use` attribute to `Serve` and `WithGracefulShutdown`
  • Re-exported `BodyDataStream` from the main axum crate

New Features

  • `must_use` attribute on `Serve` and `WithGracefulShutdown`
  • Re-export of `axum_core::body::BodyDataStream`

Full Release Notes

- **fixed:** Fix performance regression present since axum 0.7.0 ([#2483])
- **fixed:** Improve `debug_handler` on tuple response types ([#2201])
- **added:** Add `must_use` attribute to `Serve` and `WithGracefulShutdown` ([#2484])
- **added:** Re-export `axum_core::body::BodyDataStream` from axum

[#2201]: https://github.com/tokio-rs/axum/pull/2201
[#2483]: https://github.com/tokio-rs/axum/pull/2483
[#2201]: https://github.com/tokio-rs/axum/pull/2201
[#2484]: https://github.com/tokio-rs/axum/pull/2484