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.
This commit is contained in:
Matt Corallo 2022-02-17 17:41:15 +00:00
parent 8e7f241149
commit aca5b6934a
2 changed files with 2 additions and 2 deletions

View 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" ] }

View 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" ] }