diff --git a/Cargo.toml b/Cargo.toml index 5ba358e2..550df49d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -107,7 +107,7 @@ opt-level = 3 codegen-units = 1 [patch.crates-io] -actix-web = { path = "." } +actix-web = { path = "." } actix-http = { path = "actix-http" } actix-http-test = { path = "test-server" } actix-web-codegen = { path = "actix-web-codegen" } diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index eb60893f..0f897561 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -170,7 +170,7 @@ where S: Service<Request = Request>, S::Error: Into<Error>, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: Service<Request = Request, Response = Request>, X::Error: Into<Error>, U: Service<Request = (Request, Framed<T, Codec>), Response = ()>, @@ -258,7 +258,7 @@ where S: Service<Request = Request>, S::Error: Into<Error>, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: Service<Request = Request, Response = Request>, X::Error: Into<Error>, U: Service<Request = (Request, Framed<T, Codec>), Response = ()>, @@ -688,7 +688,7 @@ where S: Service<Request = Request>, S::Error: Into<Error>, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: Service<Request = Request, Response = Request>, X::Error: Into<Error>, U: Service<Request = (Request, Framed<T, Codec>), Response = ()>, diff --git a/actix-http/src/h1/service.rs b/actix-http/src/h1/service.rs index 84e1112e..4d1a1dc1 100644 --- a/actix-http/src/h1/service.rs +++ b/actix-http/src/h1/service.rs @@ -63,7 +63,7 @@ where S::Error: Into<Error>, S::InitError: fmt::Debug, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory<Config = (), Request = Request, Response = Request>, X::Error: Into<Error>, X::InitError: fmt::Debug, @@ -106,7 +106,7 @@ mod openssl { S::Error: Into<Error>, S::InitError: fmt::Debug, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory<Config = (), Request = Request, Response = Request>, X::Error: Into<Error>, X::InitError: fmt::Debug, @@ -250,7 +250,7 @@ where S::Error: Into<Error>, S::Response: Into<Response<B>>, S::InitError: fmt::Debug, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory<Config = (), Request = Request, Response = Request>, X::Error: Into<Error>, X::InitError: fmt::Debug, @@ -408,7 +408,7 @@ where S: Service<Request = Request>, S::Error: Into<Error>, S::Response: Into<Response<B>>, - B: MessageBody+Unpin, + B: MessageBody, X: Service<Request = Request, Response = Request>, X::Error: Into<Error>, U: Service<Request = (Request, Framed<T, Codec>), Response = ()>,