[package]
name = "lightning-net-tokio"
-version = "0.0.1"
+version = "0.0.118"
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 = "2018"
+
+[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.118", path = "../lightning" }
+tokio = { version = "1.0", features = [ "rt", "sync", "net", "time" ] }
+
+[dev-dependencies]
+tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
+lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }