2022-11-23 09:33:37 +01:00
|
|
|
[package]
|
|
|
|
name = "lightning-transaction-sync"
|
2025-01-15 18:12:48 +00:00
|
|
|
version = "0.2.0+git"
|
2022-11-23 09:33:37 +01:00
|
|
|
authors = ["Elias Rohrer"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2023-07-23 08:58:41 +03:00
|
|
|
repository = "https://github.com/lightningdevkit/rust-lightning"
|
2022-11-23 09:33:37 +01:00
|
|
|
description = """
|
|
|
|
Utilities for syncing LDK via the transaction-based `Confirm` interface.
|
|
|
|
"""
|
2023-10-24 15:16:38 +02:00
|
|
|
edition = "2021"
|
2022-11-23 09:33:37 +01:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[features]
|
2023-12-16 18:08:02 -06:00
|
|
|
default = ["time"]
|
|
|
|
time = []
|
2024-10-03 16:35:27 +02:00
|
|
|
esplora-async = ["async-interface", "esplora-client/async", "esplora-client/tokio", "futures"]
|
2023-11-24 12:48:22 +01:00
|
|
|
esplora-async-https = ["esplora-async", "esplora-client/async-https-rustls"]
|
2022-11-23 09:33:37 +01:00
|
|
|
esplora-blocking = ["esplora-client/blocking"]
|
2023-10-23 10:26:00 +02:00
|
|
|
electrum = ["electrum-client"]
|
2022-11-23 09:33:37 +01:00
|
|
|
async-interface = []
|
|
|
|
|
|
|
|
[dependencies]
|
2025-01-15 18:12:48 +00:00
|
|
|
lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["std"] }
|
2024-09-21 14:21:39 +09:00
|
|
|
lightning-macros = { version = "0.1", path = "../lightning-macros", default-features = false }
|
2024-08-16 08:02:50 -07:00
|
|
|
bitcoin = { version = "0.32.2", default-features = false }
|
2022-11-23 09:33:37 +01:00
|
|
|
futures = { version = "0.3", optional = true }
|
2024-10-03 16:35:27 +02:00
|
|
|
esplora-client = { version = "0.11", default-features = false, optional = true }
|
2024-08-16 08:02:50 -07:00
|
|
|
electrum-client = { version = "0.21.0", optional = true }
|
2023-01-06 13:17:48 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2025-01-15 18:12:48 +00:00
|
|
|
lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
|
2024-09-08 21:41:51 +00:00
|
|
|
tokio = { version = "1.35.0", features = ["macros"] }
|
2023-12-08 12:29:38 +01:00
|
|
|
|
2024-04-25 14:37:23 +02:00
|
|
|
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
2024-08-16 08:02:50 -07:00
|
|
|
electrsd = { version = "0.28.0", default-features = false, features = ["legacy"] }
|
2024-07-12 11:23:50 +02:00
|
|
|
|
Move `lightning-transaction-sync` tests to dedicated script
.. and bump its MSRV to 1.75.
Recently, `rustls` bumped their MSRV to 1.71. As we depend on them and
don't want to continuously pin this security-critical dependency back,
we have no choice left but to bump the MSRV for
`lightning-transaction-sync` to a version >= 1.71, too.
Here, we hence move the `lightning-transaction-sync` tests to a
dedicated script and propose to introduce a secondary MSRV of 1.75.
We chose this particular version, because:
a) it's > 1 year old
b) it provides a buffer to 1.71, i.e., if some crate bumped to a version
> 1.71, there is a chance we don't immediately have to react again
c) it
stabilized `async fn`s in traits (see
https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html),
which might become handy for related (BDK) crates, which hopefully will
adopt the same target.
2025-01-13 10:44:16 +01:00
|
|
|
[lints.rust.unexpected_cfgs]
|
|
|
|
level = "forbid"
|
|
|
|
# When adding a new cfg attribute, ensure that it is added to this list.
|
|
|
|
#
|
|
|
|
# Note that Cargo automatically declares corresponding cfgs for every feature
|
|
|
|
# defined in the member-level [features] tables as "expected".
|
|
|
|
check-cfg = [
|
|
|
|
]
|