mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-09 21:23:34 +01:00
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).
This commit is contained in:
parent
9856fb6710
commit
348db3baf7
4 changed files with 6 additions and 6 deletions
|
@ -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 }
|
lightning-rapid-gossip-sync = { version = "0.0.118", path = "../lightning-rapid-gossip-sync", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[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 = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
||||||
lightning-invoice = { version = "0.26.0", path = "../lightning-invoice" }
|
lightning-invoice = { version = "0.26.0", path = "../lightning-invoice" }
|
||||||
lightning-persister = { version = "0.0.118", path = "../lightning-persister" }
|
lightning-persister = { version = "0.0.118", path = "../lightning-persister" }
|
||||||
|
|
|
@ -21,10 +21,10 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
|
||||||
bitcoin = "0.30.2"
|
bitcoin = "0.30.2"
|
||||||
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
||||||
lightning = { version = "0.0.118", path = "../lightning" }
|
lightning = { version = "0.0.118", path = "../lightning" }
|
||||||
tokio = { version = "1.0", features = [ "io-util", "net", "time", "rt" ], optional = true }
|
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
|
||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { version = "1.0", optional = true }
|
||||||
chunked_transfer = { version = "1.4", optional = true }
|
chunked_transfer = { version = "1.4", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
||||||
tokio = { version = "1.14", features = [ "macros", "rt" ] }
|
tokio = { version = "1.35", features = [ "macros", "rt" ] }
|
||||||
|
|
|
@ -17,8 +17,8 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitcoin = "0.30.2"
|
bitcoin = "0.30.2"
|
||||||
lightning = { version = "0.0.118", path = "../lightning" }
|
lightning = { version = "0.0.118", path = "../lightning" }
|
||||||
tokio = { version = "1.0", features = [ "rt", "sync", "net", "time" ] }
|
tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
||||||
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
||||||
|
|
|
@ -31,7 +31,7 @@ electrum-client = { version = "0.18.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lightning = { version = "0.0.118", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
|
lightning = { version = "0.0.118", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
|
||||||
tokio = { version = "1.14.0", features = ["full"] }
|
tokio = { version = "1.35.0", features = ["full"] }
|
||||||
|
|
||||||
[target.'cfg(not(no_download))'.dev-dependencies]
|
[target.'cfg(not(no_download))'.dev-dependencies]
|
||||||
electrsd = { version = "0.26.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
|
electrsd = { version = "0.26.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
|
||||||
|
|
Loading…
Add table
Reference in a new issue