Immutable BlockSource interface
[rust-lightning] / lightning-block-sync / Cargo.toml
1 [package]
2 name = "lightning-block-sync"
3 version = "0.0.106"
4 authors = ["Jeffrey Czyz", "Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "http://github.com/lightningdevkit/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 [package.metadata.docs.rs]
13 all-features = true
14 rustdoc-args = ["--cfg", "docsrs"]
15
16 [features]
17 rest-client = [ "serde", "serde_json", "chunked_transfer" ]
18 rpc-client = [ "serde", "serde_json", "chunked_transfer" ]
19
20 [dependencies]
21 bitcoin = "0.27"
22 lightning = { version = "0.0.106", path = "../lightning" }
23 futures = { version = "0.3" }
24 tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
25 serde = { version = "1.0", features = ["derive"], optional = true }
26 serde_json = { version = "1.0", optional = true }
27 chunked_transfer = { version = "1.4", optional = true }
28
29 [dev-dependencies]
30 tokio = { version = "~1.14", features = [ "macros", "rt" ] }