Add subcrate which impls a simple SPV client from Bitcoin Core RPC
[rust-lightning] / lightning-block-sync / Cargo.toml
1 [package]
2 name = "lightning-block-sync"
3 version = "0.0.1"
4 authors = ["Matt Corallo"]
5 license = "Apache-2.0"
6 edition = "2018"
7 description = """
8 Utilities to fetch the chain from Bitcoin Core REST/RPC Interfaces and feed them into Rust Lightning.
9 """
10
11 [features]
12 rest-client = [ "serde", "serde_json", "serde_derive" ]
13 rpc-client = [ "serde", "serde_json", "serde_derive", "base64" ]
14
15 [dependencies]
16 bitcoin = "0.23"
17 lightning = { version = "0.0.11", path = "../lightning" }
18 tokio = { version = ">=0.2.12", features = [ "tcp", "io-util", "dns" ], optional = true }
19 serde = { version = "1", optional = true }
20 serde_json = { version = "1", optional = true }
21 serde_derive = { version = "1", optional = true }
22 base64 = { version = "0.9", optional = true }
23
24 [dev-dependencies]
25 tokio = { version = ">=0.2.12", features = [ "macros", "rt-core" ] }