Manually download `bitcoind`/`electrs` for CI tests
[rust-lightning] / lightning-transaction-sync / Cargo.toml
index ca46953a209c63be1c24ba3e2b0fa7c5e9cbdd94..d712229b0a820b841579f883594dcfed7a5f44ac 100644 (file)
@@ -31,5 +31,10 @@ electrum-client = { version = "0.18.0", optional = true }
 
 [dev-dependencies]
 lightning = { version = "0.0.118", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
-electrsd = { version = "0.26.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
 tokio = { version = "1.14.0", features = ["full"] }
+
+[target.'cfg(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]
+electrsd = { version = "0.26.0", default-features = false, features = ["legacy"] }