Immutable BlockSource interface
[rust-lightning] / lightning-block-sync / Cargo.toml
index f2032b05c3a8bd4081f5e2601249d869fa8d142b..673034081588e373b6590aff9a4db111987862af 100644 (file)
@@ -1,24 +1,30 @@
 [package]
 name = "lightning-block-sync"
-version = "0.0.1"
+version = "0.0.106"
 authors = ["Jeffrey Czyz", "Matt Corallo"]
-license = "Apache-2.0"
-edition = "2018"
+license = "MIT OR Apache-2.0"
+repository = "http://github.com/lightningdevkit/rust-lightning"
 description = """
 Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
 """
+edition = "2018"
+
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
 
 [features]
-rest-client = [ "serde_json", "chunked_transfer" ]
-rpc-client = [ "serde_json", "chunked_transfer" ]
+rest-client = [ "serde", "serde_json", "chunked_transfer" ]
+rpc-client = [ "serde", "serde_json", "chunked_transfer" ]
 
 [dependencies]
-bitcoin = "0.24"
-lightning = { version = "0.0.12", path = "../lightning" }
-tokio = { version = "1.0", features = [ "io-util", "net" ], optional = true }
+bitcoin = "0.27"
+lightning = { version = "0.0.106", path = "../lightning" }
+futures = { version = "0.3" }
+tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
+serde = { version = "1.0", features = ["derive"], optional = true }
 serde_json = { version = "1.0", optional = true }
 chunked_transfer = { version = "1.4", optional = true }
-futures = { version = "0.3" }
 
 [dev-dependencies]
-tokio = { version = "1.0", features = [ "macros", "rt" ] }
+tokio = { version = "~1.14", features = [ "macros", "rt" ] }