From: Matt Corallo Date: Thu, 17 Feb 2022 17:41:15 +0000 (+0000) Subject: Restrict tokio to 1.14 as a dev-dependency X-Git-Tag: v0.0.105~11^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=aca5b6934add138437d5eb4d9905a24ed286a2ba;p=rust-lightning Restrict tokio to 1.14 as a dev-dependency This maintains our MSRV for simple `cargo test` runs, but doesn't restrict users to any specific 1.X tokio version. --- diff --git a/lightning-block-sync/Cargo.toml b/lightning-block-sync/Cargo.toml index d12428409..0a395e8b9 100644 --- a/lightning-block-sync/Cargo.toml +++ b/lightning-block-sync/Cargo.toml @@ -22,4 +22,4 @@ serde_json = { version = "1.0", optional = true } chunked_transfer = { version = "1.4", optional = true } [dev-dependencies] -tokio = { version = "1.0", features = [ "macros", "rt" ] } +tokio = { version = "~1.14", features = [ "macros", "rt" ] } diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml index 185e5d128..370e3cc42 100644 --- a/lightning-net-tokio/Cargo.toml +++ b/lightning-net-tokio/Cargo.toml @@ -16,4 +16,4 @@ lightning = { version = "0.0.104", path = "../lightning" } tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] } [dev-dependencies] -tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } +tokio = { version = "~1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }