axum-v0.7.2

tokio-rs/axumaxum-v0.7.2Dec 4, 2023by davidpdrsn

AI Summary

Adds a utility function to convert the request body into bytes and improves error handling during the server shutdown process.

Key Highlights

  • Added `axum::body::to_bytes`
  • Gracefully handle accept errors in `serve`

New Features

  • `body::to_bytes` function
  • Graceful accept error handling

Full Release Notes

- **added:** Add `axum::body::to_bytes` ([#2373])
- **fixed:** Gracefully handle accept errors in `serve` ([#2400])

[#2373]: https://github.com/tokio-rs/axum/pull/2373
[#2400]: https://github.com/tokio-rs/axum/pull/2400