]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Restrict tokio to 1.14 as a dev-dependency 2022-02-fix-tokio-msrv
authorMatt Corallo <git@bluematt.me>
Thu, 17 Feb 2022 17:41:15 +0000 (17:41 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Feb 2022 17:47:13 +0000 (17:47 +0000)
This maintains our MSRV for simple `cargo test` runs, but doesn't
restrict users to any specific 1.X tokio version.

lightning-block-sync/Cargo.toml
lightning-net-tokio/Cargo.toml

index d12428409f7676ce18a0dc549b75cbf945e40c62..0a395e8b99da0f557f14a0379494faa1d36242b3 100644 (file)
@@ -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" ] }
index 185e5d128d5e0e0a2fdc853bf7cc939f1412f90d..370e3cc4261d0eaa3fc11ccc34a4d25e4d683e01 100644 (file)
@@ -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" ] }