Merge pull request #2996 from shaavan/issue2882.2
[rust-lightning] / lightning-transaction-sync / Cargo.toml
index 4dce05202a63fea3584684c1cf904717a5936f3b..23ead252a81ae5b1f8b58b90aed4c43a1a925674 100644 (file)
@@ -1,35 +1,41 @@
 [package]
 name = "lightning-transaction-sync"
-version = "0.0.116"
+version = "0.0.123-beta"
 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 = "2018"
+edition = "2021"
 
 [package.metadata.docs.rs]
 all-features = true
 rustdoc-args = ["--cfg", "docsrs"]
 
 [features]
-default = []
+default = ["time"]
+time = []
 esplora-async = ["async-interface", "esplora-client/async", "futures"]
-esplora-async-https = ["esplora-async", "reqwest/rustls-tls"]
+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.116", path = "../lightning", default-features = false }
-bitcoin = { version = "0.29.0", default-features = false }
+lightning = { version = "0.0.123-beta", path = "../lightning", default-features = false, features = ["std"] }
+bitcoin = { version = "0.31.2", default-features = false }
 bdk-macros = "0.6"
 futures = { version = "0.3", optional = true }
-esplora-client = { version = "0.4", default-features = false, optional = true }
-reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] }
+esplora-client = { version = "0.7", default-features = false, optional = true }
+electrum-client = { version = "0.19.0", optional = true }
 
 [dev-dependencies]
-lightning = { version = "0.0.116", path = "../lightning", features = ["std"] }
-electrsd = { version = "0.22.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_23_0"] }
-electrum-client = "0.12.0"
-tokio = { version = "1.14.0", features = ["full"] }
+lightning = { version = "0.0.123-beta", 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.27.3", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
+
+[target.'cfg(all(not(target_os = "windows"), no_download))'.dev-dependencies]
+electrsd = { version = "0.27.3", default-features = false, features = ["legacy"] }