mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Some how I'd understood that `futures` had reasonable MSRV guarantees (e.g. at least Debian stable), but apparently that isn't actually the case, as they bumped it to upgrade to syn (with apparently no actual features or bugfixes added as a result?) with no minor version bump or any available alternative (unlike Tokio, which does LTS releases). Luckily its relatively easy to just drop the `futures` dependency - it means a new connection for each request, which is annoying, but certainly not the end of the world, and its easier than trying to deal with pinning `futures`. See https://github.com/rust-lang/futures-rs/pull/2733
29 lines
974 B
TOML
29 lines
974 B
TOML
[package]
|
|
name = "lightning-block-sync"
|
|
version = "0.0.114"
|
|
authors = ["Jeffrey Czyz", "Matt Corallo"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "http://github.com/lightningdevkit/rust-lightning"
|
|
description = """
|
|
Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
|
|
"""
|
|
edition = "2018"
|
|
|
|
[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.29.0"
|
|
lightning = { version = "0.0.114", path = "../lightning" }
|
|
tokio = { version = "1.0", features = [ "io-util", "net", "time" ], optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
chunked_transfer = { version = "1.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lightning = { version = "0.0.114", path = "../lightning", features = ["_test_utils"] }
|
|
tokio = { version = "1.14", features = [ "macros", "rt" ] }
|