2e2ca19be8b00efca4f435e0ea86f01f0dca29c3
[rust-lightning] / lightning-block-sync / Cargo.toml
1 [package]
2 name = "lightning-block-sync"
3 version = "0.0.98"
4 authors = ["Jeffrey Czyz", "Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "http://github.com/rust-bitcoin/rust-lightning"
7 description = """
8 Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
9 """
10 edition = "2018"
11
12 [features]
13 rest-client = [ "serde", "serde_json", "chunked_transfer" ]
14 rpc-client = [ "serde", "serde_json", "chunked_transfer" ]
15
16 [dependencies]
17 bitcoin = "0.26"
18 lightning = { version = "0.0.98", path = "../lightning" }
19 tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
20 serde = { version = "1.0", features = ["derive"], optional = true }
21 serde_json = { version = "1.0", optional = true }
22 chunked_transfer = { version = "1.4", optional = true }
23 futures = { version = "0.3" }
24
25 [dev-dependencies]
26 tokio = { version = "1.0", features = [ "macros", "rt" ] }