1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 20:12:58 +01:00

update tokio to 0.2.4

This commit is contained in:
Nikolay Kim 2019-12-07 10:15:26 +06:00
parent 6c00ab8296
commit fc0825fcdd
4 changed files with 5 additions and 5 deletions

View File

@ -21,6 +21,6 @@ path = "src/lib.rs"
bitflags = "1.2.1" bitflags = "1.2.1"
bytes = "0.5.2" bytes = "0.5.2"
futures = "0.3.1" 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"] } tokio-util = { version = "0.2.0", default-features=false, features=["codec"] }
log = "0.4" log = "0.4"

View File

@ -22,4 +22,4 @@ actix-macros = "0.1.0-alpha.1"
actix-threadpool = "0.3" actix-threadpool = "0.3"
futures = "0.3.1" futures = "0.3.1"
copyless = "0.1.4" 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"] }

View File

@ -186,7 +186,7 @@ mod tests {
#[actix_rt::test] #[actix_rt::test]
async fn system_time_service_time_updates_after_resolution_interval() { async fn system_time_service_time_updates_after_resolution_interval() {
let resolution = Duration::from_millis(100); 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); let time_service = SystemTimeService::with(resolution);
@ -212,7 +212,7 @@ mod tests {
#[actix_rt::test] #[actix_rt::test]
async fn lowres_time_service_time_updates_after_resolution_interval() { async fn lowres_time_service_time_updates_after_resolution_interval() {
let resolution = Duration::from_millis(100); 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 time_service = LowResTimeService::with(resolution);
let first_time = time_service.now(); let first_time = time_service.now();

View File

@ -12,7 +12,7 @@ edition = "2018"
workspace = ".." workspace = ".."
[lib] [lib]
name = "bytesrting" name = "bytestring"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]