1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 01:11:07 +01:00

update actix-codec dependencies

This commit is contained in:
Nikolay Kim 2019-12-11 10:23:01 +06:00
parent 32202188cc
commit 25012d290a
6 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -96,7 +96,7 @@ where
type Error = <Codec as Encoder>::Error;
fn poll_ready(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
if self.framed.is_ready() {
if self.framed.is_write_ready() {
Poll::Ready(Ok(()))
} else {
Poll::Pending

View File

@ -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"

View File

@ -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"

View File

@ -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"