From 54abf356d47c7a01fde87acfb0328d730229434f Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 8 May 2020 03:33:29 +0900 Subject: [PATCH] actors: Bump up to 3.0.0-alpha.1 --- actix-web-actors/CHANGES.md | 6 ++++++ actix-web-actors/Cargo.toml | 6 +++--- actix-web-actors/src/context.rs | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/actix-web-actors/CHANGES.md b/actix-web-actors/CHANGES.md index 66ff7ed6..68947569 100644 --- a/actix-web-actors/CHANGES.md +++ b/actix-web-actors/CHANGES.md @@ -1,5 +1,11 @@ # Changes +# [3.0.0-alpha.1] - 2020-05-08 + +* Update the actix-web dependency to 3.0.0-alpha.1 +* Update the actix dependency to 0.10.0-alpha.2 +* Update the actix-http dependency to 2.0.0-alpha.3 + ## [2.0.0] - 2019-12-20 * Release diff --git a/actix-web-actors/Cargo.toml b/actix-web-actors/Cargo.toml index ccb41abb..42c60210 100644 --- a/actix-web-actors/Cargo.toml +++ b/actix-web-actors/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web-actors" -version = "2.0.0" +version = "3.0.0-alpha.1" authors = ["Nikolay Kim "] description = "Actix actors support for actix web framework." readme = "README.md" @@ -16,7 +16,7 @@ name = "actix_web_actors" path = "src/lib.rs" [dependencies] -actix = "0.10.0-alpha.1" +actix = "0.10.0-alpha.2" actix-web = "3.0.0-alpha.1" actix-http = "2.0.0-alpha.3" actix-codec = "0.2.0" @@ -26,4 +26,4 @@ pin-project = "0.4.6" [dev-dependencies] actix-rt = "1.0.0" -env_logger = "0.6" +env_logger = "0.7" diff --git a/actix-web-actors/src/context.rs b/actix-web-actors/src/context.rs index 6a403de1..c889092d 100644 --- a/actix-web-actors/src/context.rs +++ b/actix-web-actors/src/context.rs @@ -174,7 +174,7 @@ where // frames if let Some(data) = self.fut.ctx().stream.pop_front() { - Poll::Ready(data.map(|b| Ok(b))) + Poll::Ready(data.map(Ok)) } else if self.fut.alive() { Poll::Pending } else {