2021-01-11 10:50:54 -08:00
|
|
|
[package]
|
|
|
|
name = "lightning-block-sync"
|
2022-07-25 23:50:50 +00:00
|
|
|
version = "0.0.110"
|
2021-01-11 10:50:54 -08:00
|
|
|
authors = ["Jeffrey Czyz", "Matt Corallo"]
|
2021-03-09 16:51:14 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-26 22:53:16 -05:00
|
|
|
repository = "http://github.com/lightningdevkit/rust-lightning"
|
2021-01-11 10:50:54 -08:00
|
|
|
description = """
|
|
|
|
Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
|
|
|
|
"""
|
2021-03-09 16:51:14 -05:00
|
|
|
edition = "2018"
|
2021-01-11 10:50:54 -08:00
|
|
|
|
2022-02-11 22:22:20 -06:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2021-01-11 16:07:47 -08:00
|
|
|
[features]
|
2021-01-11 23:33:42 -08:00
|
|
|
rest-client = [ "serde", "serde_json", "chunked_transfer" ]
|
|
|
|
rpc-client = [ "serde", "serde_json", "chunked_transfer" ]
|
2021-01-11 16:07:47 -08:00
|
|
|
|
2021-01-11 10:50:54 -08:00
|
|
|
[dependencies]
|
2022-05-05 17:59:38 +02:00
|
|
|
bitcoin = "0.28.1"
|
2022-07-25 23:50:50 +00:00
|
|
|
lightning = { version = "0.0.110", path = "../lightning" }
|
2022-02-14 15:31:59 -06:00
|
|
|
futures = { version = "0.3" }
|
2021-05-07 22:40:22 +00:00
|
|
|
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
|
2021-01-11 23:33:42 -08:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2021-01-11 16:07:47 -08:00
|
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
chunked_transfer = { version = "1.4", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-02-17 17:41:15 +00:00
|
|
|
tokio = { version = "~1.14", features = [ "macros", "rt" ] }
|