axum-v0.7.3

tokio-rs/axumaxum-v0.7.3Dec 29, 2023by davidpdrsn

AI Summary

Introduces body conversion from empty tuples, enables the tracing feature by default, and adds support for graceful shutdown and router cloning.

Key Highlights

  • `Body` implements `From<()>`
  • Tracing feature enabled by default
  • Support for graceful shutdown on `serve`
  • `RouterIntoService` implements `Clone`

New Features

  • `Body` `From<()>` implementation
  • Default `tracing` feature
  • Graceful shutdown support
  • `RouterIntoService` `Clone` implementation

Full Release Notes

- **added:** `Body` implements `From<()>` now ([#2411])
- **change:** Update version of multer used internally for multipart ([#2433])
- **change:** Update tokio-tungstenite to 0.21 ([#2435])
- **added:** Enable `tracing` feature by default ([#2460])
- **added:** Support graceful shutdown on `serve` ([#2398])
- **added:** `RouterIntoService` implements `Clone` ([#2456])

[#2411]: https://github.com/tokio-rs/axum/pull/2411
[#2433]: https://github.com/tokio-rs/axum/pull/2433
[#2435]: https://github.com/tokio-rs/axum/pull/2435
[#2460]: https://github.com/tokio-rs/axum/pull/2460
[#2398]: https://github.com/tokio-rs/axum/pull/2398
[#2456]: https://github.com/tokio-rs/axum/pull/2456