mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
a386ba5314
.. as the `electrsd` crate doesn't support it. While we previously did so in our CI script, we now also `cfg`-gate the tests and dependencies for easier handling.
42 lines
1.6 KiB
TOML
42 lines
1.6 KiB
TOML
[package]
|
|
name = "lightning-transaction-sync"
|
|
version = "0.0.121"
|
|
authors = ["Elias Rohrer"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/lightningdevkit/rust-lightning"
|
|
description = """
|
|
Utilities for syncing LDK via the transaction-based `Confirm` interface.
|
|
"""
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["time"]
|
|
time = []
|
|
esplora-async = ["async-interface", "esplora-client/async", "futures"]
|
|
esplora-async-https = ["esplora-async", "esplora-client/async-https-rustls"]
|
|
esplora-blocking = ["esplora-client/blocking"]
|
|
electrum = ["electrum-client"]
|
|
async-interface = []
|
|
|
|
[dependencies]
|
|
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["std"] }
|
|
bitcoin = { version = "0.30.2", default-features = false }
|
|
bdk-macros = "0.6"
|
|
futures = { version = "0.3", optional = true }
|
|
esplora-client = { version = "0.6", default-features = false, optional = true }
|
|
electrum-client = { version = "0.18.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
|
|
tokio = { version = "1.35.0", features = ["full"] }
|
|
|
|
[target.'cfg(all(not(target_os = "windows"), not(no_download)))'.dev-dependencies]
|
|
electrsd = { version = "0.26.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
|
|
|
|
[target.'cfg(all(not(target_os = "windows"), no_download))'.dev-dependencies]
|
|
electrsd = { version = "0.26.0", default-features = false, features = ["legacy"] }
|