Update tokio version to the latest to avoid tokio versions with security bugs.
[rust-lightning] / lightning-background-processor / Cargo.toml
index 933cbc466a677a8cd1f93e9d5e63219682477870..904c821fdb17929be252b95831bda1eefc7987e0 100644 (file)
@@ -7,7 +7,7 @@ repository = "https://github.com/lightningdevkit/rust-lightning"
 description = """
 Utilities to perform required background tasks for Rust Lightning.
 """
-edition = "2018"
+edition = "2021"
 
 [package.metadata.docs.rs]
 all-features = true
@@ -26,7 +26,7 @@ lightning = { version = "0.0.118", path = "../lightning", default-features = fal
 lightning-rapid-gossip-sync = { version = "0.0.118", path = "../lightning-rapid-gossip-sync", default-features = false }
 
 [dev-dependencies]
-tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
+tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
 lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
 lightning-invoice = { version = "0.26.0", path = "../lightning-invoice" }
 lightning-persister = { version = "0.0.118", path = "../lightning-persister" }