Skip to content

Commit f2eca4b

Browse files
committed
Update tokio version to the latest to avoid tokio versions with security bugs.
This commit will set tokio version requirement to >=1.35.0, <2.0.0 to avoid versions with security issues (https://rustsec.org/packages/tokio.html).
1 parent 2476006 commit f2eca4b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lightning-background-processor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lightning = { version = "0.0.118", path = "../lightning", default-features = fal
2626
lightning-rapid-gossip-sync = { version = "0.0.118", path = "../lightning-rapid-gossip-sync", default-features = false }
2727

2828
[dev-dependencies]
29-
tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
29+
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
3030
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
3131
lightning-invoice = { version = "0.26.0", path = "../lightning-invoice" }
3232
lightning-persister = { version = "0.0.118", path = "../lightning-persister" }

lightning-block-sync/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
2121
bitcoin = "0.30.2"
2222
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
2323
lightning = { version = "0.0.118", path = "../lightning" }
24-
tokio = { version = "1.0", features = [ "io-util", "net", "time", "rt" ], optional = true }
24+
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
2525
serde_json = { version = "1.0", optional = true }
2626
chunked_transfer = { version = "1.4", optional = true }
2727

2828
[dev-dependencies]
2929
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
30-
tokio = { version = "1.14", features = [ "macros", "rt" ] }
30+
tokio = { version = "1.35", features = [ "macros", "rt" ] }

lightning-net-tokio/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ rustdoc-args = ["--cfg", "docsrs"]
1717
[dependencies]
1818
bitcoin = "0.30.2"
1919
lightning = { version = "0.0.118", path = "../lightning" }
20-
tokio = { version = "1.0", features = [ "rt", "sync", "net", "time" ] }
20+
tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] }
2121

2222
[dev-dependencies]
23-
tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
23+
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
2424
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }

lightning-transaction-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ electrum-client = { version = "0.18.0", optional = true }
3131

3232
[dev-dependencies]
3333
lightning = { version = "0.0.118", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
34-
tokio = { version = "1.14.0", features = ["full"] }
34+
tokio = { version = "1.35.0", features = ["full"] }
3535

3636
[target.'cfg(not(no_download))'.dev-dependencies]
3737
electrsd = { version = "0.26.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }

0 commit comments

Comments
 (0)