http-v3.4.0

actix/actix-webhttp-v3.4.0Aug 29, 2023by robjtede

AI Summary

The actix-http library v3.4.0 adds Rustls 0.20 and 0.21 support and introduces body limit error handling.

Key Highlights

  • Added `rustls-0_20` crate feature.
  • Added service constructors for Rustls 0.21 support.
  • Added `body::to_bytes_limited()` function for handling large payloads.
  • Added `body::BodyLimitExceeded` error type.

New Features

  • Rustls 0.20 support
  • Rustls 0.21 support
  • Body limit error handling

Full Release Notes

### Added

- Add `rustls-0_20` crate feature.
- Add `{h1::H1Service, h2::H2Service, HttpService}::rustls_021()` and `HttpService::rustls_021_with_config()` service constructors.
- Add `body::to_bytes_limited()` function.
- Add `body::BodyLimitExceeded` error type.

### Changed

- Minimum supported Rust version (MSRV) is now 1.68 due to transitive `time` dependency.