mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-09 02:09:38 +01:00
Disable lightning-transaction-sync
integration tests on Windows
.. 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.
This commit is contained in:
parent
5bf58f0d33
commit
a386ba5314
2 changed files with 3 additions and 3 deletions
|
@ -34,8 +34,8 @@ electrum-client = { version = "0.18.0", optional = true }
|
|||
lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
|
||||
tokio = { version = "1.35.0", features = ["full"] }
|
||||
|
||||
[target.'cfg(not(no_download))'.dev-dependencies]
|
||||
[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(no_download)'.dev-dependencies]
|
||||
[target.'cfg(all(not(target_os = "windows"), no_download))'.dev-dependencies]
|
||||
electrsd = { version = "0.26.0", default-features = false, features = ["legacy"] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![cfg(any(feature = "esplora-blocking", feature = "esplora-async", feature = "electrum"))]
|
||||
#![cfg(all(not(target_os = "windows"), any(feature = "esplora-blocking", feature = "esplora-async", feature = "electrum")))]
|
||||
|
||||
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
|
||||
use lightning_transaction_sync::EsploraSyncClient;
|
||||
|
|
Loading…
Add table
Reference in a new issue