From 25012d290a780a3e15e82c5ac1313d93e3916c45 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 11 Dec 2019 10:23:01 +0600 Subject: [PATCH] update actix-codec dependencies --- actix-connect/Cargo.toml | 2 +- actix-ioframe/Cargo.toml | 2 +- actix-ioframe/src/connect.rs | 2 +- actix-server/Cargo.toml | 2 +- actix-tls/Cargo.toml | 2 +- actix-utils/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index b72afcbb..8d88b2a9 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -34,7 +34,7 @@ uri = ["http"] [dependencies] actix-service = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.3" +actix-codec = "0.2.0" actix-utils = "1.0.0-alpha.3" actix-rt = "1.0.0-alpha.3" derive_more = "0.99.2" diff --git a/actix-ioframe/Cargo.toml b/actix-ioframe/Cargo.toml index e30b84f3..82a0cc96 100644 --- a/actix-ioframe/Cargo.toml +++ b/actix-ioframe/Cargo.toml @@ -19,7 +19,7 @@ path = "src/lib.rs" [dependencies] actix-service = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.2" +actix-codec = "0.2.0" actix-utils = "1.0.0-alpha.2" actix-rt = "1.0.0-alpha.2" bytes = "0.5" diff --git a/actix-ioframe/src/connect.rs b/actix-ioframe/src/connect.rs index 4755b86f..978c7e57 100644 --- a/actix-ioframe/src/connect.rs +++ b/actix-ioframe/src/connect.rs @@ -96,7 +96,7 @@ where type Error = ::Error; fn poll_ready(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll> { - if self.framed.is_ready() { + if self.framed.is_write_ready() { Poll::Ready(Ok(())) } else { Poll::Pending diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index e0eb6ad2..166f7782 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -23,7 +23,7 @@ default = [] [dependencies] actix-service = "1.0.0-alpha.4" actix-rt = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.3" +actix-codec = "0.2.0" actix-utils = "1.0.0-alpha.3" log = "0.4" diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index acd463aa..8fe0d30d 100644 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -33,7 +33,7 @@ nativetls = ["native-tls", "tokio-tls"] [dependencies] actix-service = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.3" +actix-codec = "0.2.0" actix-utils = "1.0.0-alpha.3" actix-rt = "1.0.0-alpha.3" derive_more = "0.99.2" diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 620219be..9455978a 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -20,7 +20,7 @@ path = "src/lib.rs" [dependencies] actix-service = "1.0.0-alpha.3" actix-rt = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.3" +actix-codec = "0.2.0" bytes = "0.5.2" either = "1.5.2" futures = "0.3.1"