mirror of https://github.com/rwf2/Rocket.git
Avoid Tokio 1.6 due to tokio-rs/tokio#3803.
This commit is contained in:
parent
41d7138540
commit
1f1976f8bf
|
@ -19,7 +19,7 @@ memcache_pool = ["memcache", "r2d2-memcache"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
r2d2 = "0.8"
|
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"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|
||||||
diesel = { version = "1.0", default-features = false, optional = true }
|
diesel = { version = "1.0", default-features = false, optional = true }
|
||||||
|
|
|
@ -29,7 +29,7 @@ mime = "0.3.13"
|
||||||
time = "0.2.11"
|
time = "0.2.11"
|
||||||
indexmap = { version = "1.5.2", features = ["std"] }
|
indexmap = { version = "1.5.2", features = ["std"] }
|
||||||
tokio-rustls = { version = "0.22.0", optional = true }
|
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"
|
log = "0.4"
|
||||||
ref-cast = "1.0"
|
ref-cast = "1.0"
|
||||||
uncased = "0.9.6"
|
uncased = "0.9.6"
|
||||||
|
|
|
@ -70,7 +70,7 @@ path = "../http"
|
||||||
features = ["serde"]
|
features = ["serde"]
|
||||||
|
|
||||||
[dependencies.tokio]
|
[dependencies.tokio]
|
||||||
version = "1.0"
|
version = ">=1.4,<1.6"
|
||||||
features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"]
|
features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"]
|
||||||
|
|
||||||
[dependencies.tokio-util]
|
[dependencies.tokio-util]
|
||||||
|
|
Loading…
Reference in New Issue