2 name = "lightning-net-tokio"
4 authors = ["Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "https://github.com/rust-bitcoin/rust-lightning/"
8 Implementation of the rust-lightning network stack using Tokio.
9 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.
15 lightning = { version = "0.0.98", path = "../lightning" }
16 tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] }
19 tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }