Skip to content

Commit 3e1c9e7

Browse files
committed
Drop electrsd autodownload feature for good
... which requires a bunch of unnecessary dev dependencies, e.g., `zip`. Instead we lean on the `download_bitcoind_electrs.sh` script also for local testing.
1 parent 5f15d6f commit 3e1c9e7

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

ci/ci-tests.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
2828

2929
export RUST_BACKTRACE=1
3030

31-
# Build `lightning-transaction-sync` in no_download mode.
32-
export RUSTFLAGS="$RUSTFLAGS --cfg no_download"
33-
3431
echo -e "\n\nBuilding and testing all workspace crates..."
3532
cargo test --verbose --color always
3633
cargo check --verbose --color always

lightning-transaction-sync/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ electrum-client = { version = "0.19.0", optional = true }
3434
lightning = { version = "0.0.123-beta", path = "../lightning", default-features = false, features = ["std", "_test_utils"] }
3535
tokio = { version = "1.35.0", features = ["full"] }
3636

37-
[target.'cfg(all(not(target_os = "windows"), not(no_download)))'.dev-dependencies]
38-
electrsd = { version = "0.27.3", default-features = false, features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] }
39-
40-
[target.'cfg(all(not(target_os = "windows"), no_download))'.dev-dependencies]
37+
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
4138
electrsd = { version = "0.27.3", default-features = false, features = ["legacy"] }
4239

4340
[lints]

0 commit comments

Comments
 (0)