mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
This commit will set tokio version requirement to >=1.35.0, <2.0.0 to avoid versions with security issues (https://rustsec.org/packages/tokio.html).
30 lines
1 KiB
TOML
30 lines
1 KiB
TOML
[package]
|
|
name = "lightning-block-sync"
|
|
version = "0.0.118"
|
|
authors = ["Jeffrey Czyz", "Matt Corallo"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/lightningdevkit/rust-lightning"
|
|
description = """
|
|
Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
|
|
"""
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
rest-client = [ "serde_json", "chunked_transfer" ]
|
|
rpc-client = [ "serde_json", "chunked_transfer" ]
|
|
|
|
[dependencies]
|
|
bitcoin = "0.30.2"
|
|
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
|
lightning = { version = "0.0.118", path = "../lightning" }
|
|
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
chunked_transfer = { version = "1.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lightning = { version = "0.0.118", path = "../lightning", features = ["_test_utils"] }
|
|
tokio = { version = "1.35", features = [ "macros", "rt" ] }
|