From fc0825fcdd8facdc6f44ad89d96edd14d0822c4e Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 7 Dec 2019 10:15:26 +0600 Subject: [PATCH] update tokio to 0.2.4 --- actix-codec/Cargo.toml | 2 +- actix-rt/Cargo.toml | 2 +- actix-utils/src/time.rs | 4 ++-- string/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index d0eb6f0b..67744c41 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -21,6 +21,6 @@ path = "src/lib.rs" bitflags = "1.2.1" bytes = "0.5.2" futures = "0.3.1" -tokio = { version = "0.2.3", default-features=false } +tokio = { version = "0.2.4", default-features=false } tokio-util = { version = "0.2.0", default-features=false, features=["codec"] } log = "0.4" \ No newline at end of file diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index c6c473b3..145bb39a 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -22,4 +22,4 @@ actix-macros = "0.1.0-alpha.1" actix-threadpool = "0.3" futures = "0.3.1" copyless = "0.1.4" -tokio = { version = "0.2.3", default-features=false, features = ["rt-core", "rt-util", "io-driver", "tcp", "uds", "udp", "time", "signal", "stream"] } +tokio = { version = "0.2.4", default-features=false, features = ["rt-core", "rt-util", "io-driver", "tcp", "uds", "udp", "time", "signal", "stream"] } diff --git a/actix-utils/src/time.rs b/actix-utils/src/time.rs index 01de3160..49d6283a 100644 --- a/actix-utils/src/time.rs +++ b/actix-utils/src/time.rs @@ -186,7 +186,7 @@ mod tests { #[actix_rt::test] async fn system_time_service_time_updates_after_resolution_interval() { let resolution = Duration::from_millis(100); - let wait_time = Duration::from_millis(150); + let wait_time = Duration::from_millis(300); let time_service = SystemTimeService::with(resolution); @@ -212,7 +212,7 @@ mod tests { #[actix_rt::test] async fn lowres_time_service_time_updates_after_resolution_interval() { let resolution = Duration::from_millis(100); - let wait_time = Duration::from_millis(150); + let wait_time = Duration::from_millis(300); let time_service = LowResTimeService::with(resolution); let first_time = time_service.now(); diff --git a/string/Cargo.toml b/string/Cargo.toml index cf1fb8ca..f3c2014c 100644 --- a/string/Cargo.toml +++ b/string/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" workspace = ".." [lib] -name = "bytesrting" +name = "bytestring" path = "src/lib.rs" [dependencies]