Merge pull request #835 from TheBlueMatt/2021-03-0.0.13
[rust-lightning] / lightning-block-sync / Cargo.toml
index 547b04d71b7188839e5e1524792a642ae423d38d..968e500ef4940041ce19c2daffd8b2d8afb7c8b1 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "lightning-block-sync"
-version = "0.0.1"
+version = "0.0.13"
 authors = ["Jeffrey Czyz", "Matt Corallo"]
 license = "Apache-2.0"
 edition = "2018"
@@ -8,6 +8,18 @@ description = """
 Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
 """
 
+[features]
+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" }
+bitcoin = "0.26"
+lightning = { version = "0.0.13", path = "../lightning" }
+tokio = { version = "1.0", features = [ "io-util", "net" ], 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" ] }