From 6b4c1b71d7ad19adba2d5249d9c6986100933e85 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 29 May 2021 14:40:50 -0700 Subject: [PATCH] Update 'tokio' to 1.6.1. --- contrib/sync_db_pools/lib/Cargo.toml | 2 +- core/http/Cargo.toml | 2 +- core/lib/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/sync_db_pools/lib/Cargo.toml b/contrib/sync_db_pools/lib/Cargo.toml index 24b3d5d1..138c9572 100644 --- a/contrib/sync_db_pools/lib/Cargo.toml +++ b/contrib/sync_db_pools/lib/Cargo.toml @@ -19,7 +19,7 @@ memcache_pool = ["memcache", "r2d2-memcache"] [dependencies] r2d2 = "0.8" -tokio = { version = ">=1.4,<1.6", features = ["rt", "rt-multi-thread"] } +tokio = { version = "1.6.1", features = ["rt", "rt-multi-thread"] } serde = { version = "1.0", features = ["derive"] } diesel = { version = "1.0", default-features = false, optional = true } diff --git a/core/http/Cargo.toml b/core/http/Cargo.toml index d5fde3b1..adae7e67 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -29,7 +29,7 @@ mime = "0.3.13" time = "0.2.11" indexmap = { version = "1.5.2", features = ["std"] } tokio-rustls = { version = "0.22.0", optional = true } -tokio = { version = ">=1.4,<1.6", features = ["net", "sync", "time"] } +tokio = { version = "1.6.1", features = ["net", "sync", "time"] } log = "0.4" ref-cast = "1.0" uncased = "0.9.6" diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 90d54439..0fa349ef 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -70,7 +70,7 @@ path = "../http" features = ["serde"] [dependencies.tokio] -version = ">=1.4,<1.6" +version = "1.6.1" features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"] [dependencies.tokio-util]