2021-01-11 10:50:54 -08:00
|
|
|
[package]
|
|
|
|
name = "lightning-block-sync"
|
2023-10-03 17:15:45 +00:00
|
|
|
version = "0.0.117"
|
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"
|
2023-07-23 08:58:41 +03:00
|
|
|
repository = "https://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]
|
2023-03-19 23:39:56 +00:00
|
|
|
rest-client = [ "serde_json", "chunked_transfer" ]
|
|
|
|
rpc-client = [ "serde_json", "chunked_transfer" ]
|
2021-01-11 16:07:47 -08:00
|
|
|
|
2021-01-11 10:50:54 -08:00
|
|
|
[dependencies]
|
2022-08-09 17:39:51 +02:00
|
|
|
bitcoin = "0.29.0"
|
2023-10-03 17:15:45 +00:00
|
|
|
lightning = { version = "0.0.117", path = "../lightning" }
|
2021-05-07 22:40:22 +00:00
|
|
|
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], 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]
|
2023-10-03 17:15:45 +00:00
|
|
|
lightning = { version = "0.0.117", path = "../lightning", features = ["_test_utils"] }
|
2023-03-10 22:24:39 +01:00
|
|
|
tokio = { version = "1.14", features = [ "macros", "rt" ] }
|