1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

relax body bounds (#223)

This commit is contained in:
Rob Ede
2022-02-07 02:30:26 +00:00
committed by GitHub
parent 7bb1f8d710
commit ab3615b8d5
8 changed files with 16 additions and 8 deletions

View File

@ -1,8 +1,11 @@
# Changes
## Unreleased - 2021-xx-xx
- Relax body type bounds on middleware impl. [#223]
- Update `actix-web` dependency to `4.0.0-rc.1`.
[#223]: https://github.com/actix/actix-extras/pull/223
## 0.6.0-beta.7 - 2021-12-29
- Minimum supported Rust version (MSRV) is now 1.54.

View File

@ -124,7 +124,6 @@ where
O: Future<Output = Result<ServiceRequest, Error>> + 'static,
T: AuthExtractor + 'static,
B: MessageBody + 'static,
B::Error: Into<Error>,
{
type Response = ServiceResponse<EitherBody<B>>;
type Error = Error;
@ -159,7 +158,6 @@ where
O: Future<Output = Result<ServiceRequest, Error>> + 'static,
T: AuthExtractor + 'static,
B: MessageBody + 'static,
B::Error: Into<Error>,
{
type Response = ServiceResponse<EitherBody<B>>;
type Error = S::Error;