Skip to content

Commit

Permalink
Avoid Tokio 1.6 due to tokio-rs/tokio#3803.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed May 27, 2021
1 parent 41d7138 commit 1f1976f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/sync_db_pools/lib/Cargo.toml
Expand Up @@ -19,7 +19,7 @@ memcache_pool = ["memcache", "r2d2-memcache"]

[dependencies]
r2d2 = "0.8"
tokio = { version = "1.4", features = ["rt", "rt-multi-thread"] }
tokio = { version = ">=1.4,<1.6", features = ["rt", "rt-multi-thread"] }
serde = { version = "1.0", features = ["derive"] }

diesel = { version = "1.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion core/http/Cargo.toml
Expand Up @@ -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.0", features = ["net", "sync", "time"] }
tokio = { version = ">=1.4,<1.6", features = ["net", "sync", "time"] }
log = "0.4"
ref-cast = "1.0"
uncased = "0.9.6"
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Cargo.toml
Expand Up @@ -70,7 +70,7 @@ path = "../http"
features = ["serde"]

[dependencies.tokio]
version = "1.0"
version = ">=1.4,<1.6"
features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"]

[dependencies.tokio-util]
Expand Down

0 comments on commit 1f1976f

Please sign in to comment.