86cf2f346ef83ad371e78fab062e6f59647f7de2
[rust-lightning] / lightning-block-sync / Cargo.toml
1 [package]
2 name = "lightning-block-sync"
3 version = "0.0.120"
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 = "2021"
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.30.2"
22 hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
23 lightning = { version = "0.0.120", path = "../lightning" }
24 tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
25 serde_json = { version = "1.0", optional = true }
26 chunked_transfer = { version = "1.4", optional = true }
27
28 [dev-dependencies]
29 lightning = { version = "0.0.120", path = "../lightning", features = ["_test_utils"] }
30 tokio = { version = "1.35", features = [ "macros", "rt" ] }