619bbb425c096b006f4b41724f5f133b9c75d83e
[rust-lightning] / lightning-block-sync / Cargo.toml
1 [package]
2 name = "lightning-block-sync"
3 version = "0.0.116"
4 authors = ["Jeffrey Czyz", "Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "https://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_json", "chunked_transfer" ]
18 rpc-client = [ "serde_json", "chunked_transfer" ]
19
20 [dependencies]
21 bitcoin = "0.29.0"
22 lightning = { version = "0.0.116", path = "../lightning" }
23 tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
24 serde_json = { version = "1.0", optional = true }
25 chunked_transfer = { version = "1.4", optional = true }
26
27 [dev-dependencies]
28 lightning = { version = "0.0.116", path = "../lightning", features = ["_test_utils"] }
29 tokio = { version = "1.14", features = [ "macros", "rt" ] }