X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-net-tokio%2FCargo.toml;h=f779a4395b768d242af25445a6a1c9fc0f520d6c;hb=d9b9854e87b81e43bcd33ae7bc059cf40af5b5e1;hp=f6fa03bdf24be15ec3082215c64c21da0fdb307b;hpb=126b514168ff8294f6ee7b9573797c6759512b9c;p=rust-lightning diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml index f6fa03bd..f779a439 100644 --- a/lightning-net-tokio/Cargo.toml +++ b/lightning-net-tokio/Cargo.toml @@ -1,19 +1,24 @@ [package] name = "lightning-net-tokio" -version = "0.0.1" +version = "0.0.121" authors = ["Matt Corallo"] -license = "Apache-2.0" +license = "MIT OR Apache-2.0" +repository = "https://github.com/lightningdevkit/rust-lightning/" description = """ Implementation of the rust-lightning network stack using Tokio. -For Rust-Lightning clients which wish to make direct connections to Lightning P2P nodes, this is a simple alternative to implementing the nerequired network stack, especially for those already using Tokio. +For Rust-Lightning clients which wish to make direct connections to Lightning P2P nodes, this is a simple alternative to implementing the required network stack, especially for those already using Tokio. """ +edition = "2021" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] [dependencies] -bitcoin = "0.20" -bitcoin_hashes = "0.7" -lightning = { version = "0.0.9", path = "../lightning" } -secp256k1 = "0.15" -tokio-codec = "0.1" -futures = "0.1" -tokio = "0.1" -bytes = "0.4" +bitcoin = "0.30.2" +lightning = { version = "0.0.121", path = "../lightning" } +tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] } + +[dev-dependencies] +tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } +lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }