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