http-v3.10.0

actix/actix-webhttp-v3.10.0Mar 10, 2025by robjtede

AI Summary

Adds new header constants and payload conversion implementations.

Key Highlights

  • Add `header::CLEAR_SITE_DATA` constant
  • Add `Extensions::get_or_insert[_with]()` methods
  • Implement `From<Bytes>` and `From<Vec<u8>>` for `Payload`
  • Update `brotli` dependency to version 7
  • Minimum supported Rust version (MSRV) is now 1.75

Breaking Changes

  • Minimum supported Rust version (MSRV) is now 1.75

New Features

  • header::CLEAR_SITE_DATA constant
  • Extensions::get_or_insert methods
  • From<Bytes> for Payload
  • From<Vec<u8>> for Payload

Full Release Notes

### Added

- Add `header::CLEAR_SITE_DATA` constant.
- Add `Extensions::get_or_insert[_with]()` methods.
- Implement `From<Bytes>` for `Payload`.
- Implement `From<Vec<u8>>` for `Payload`.

### Changed

- Update `brotli` dependency to `7`.
- Minimum supported Rust version (MSRV) is now 1.75.