@@ -63,8 +63,14 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
63
63
# The addr2line v0.21 crate (a dependency of `backtrace` starting with 0.3.69) relies on rustc 1.65
64
64
[ " $RUSTC_MINOR_VERSION " -lt 65 ] && cargo update -p backtrace --precise " 0.3.68" --verbose
65
65
66
+ # Starting with version 0.5.9 (there is no .6-.8), the `home` crate has an MSRV of rustc 1.70.0.
67
+ [ " $RUSTC_MINOR_VERSION " -lt 70 ] && cargo update -p home --precise " 0.5.5" --verbose
68
+
66
69
export RUST_BACKTRACE=1
67
70
71
+ # Build `lightning-transaction-sync` in no_download mode.
72
+ export RUSTFLAGS=" $RUSTFLAGS --cfg no_download"
73
+
68
74
echo -e " \n\nBuilding and testing all workspace crates..."
69
75
cargo test --verbose --color always
70
76
cargo check --verbose --color always
@@ -85,21 +91,16 @@ echo -e "\n\nBuilding and testing Transaction Sync Clients with features"
85
91
pushd lightning-transaction-sync
86
92
# reqwest 0.11.21 had a regression that broke its 1.63.0 MSRV
87
93
[ " $RUSTC_MINOR_VERSION " -lt 65 ] && cargo update -p reqwest --precise " 0.11.20" --verbose
88
- # Starting with version 1.10.0, the `regex` crate has an MSRV of rustc 1.65.0.
89
- [ " $RUSTC_MINOR_VERSION " -lt 65 ] && cargo update -p regex --precise " 1.9.6" --verbose
90
- # Starting with version 0.5.9 (there is no .6-.8), the `home` crate has an MSRV of rustc 1.70.0.
91
- [ " $RUSTC_MINOR_VERSION " -lt 70 ] && cargo update -p home --precise " 0.5.5" --verbose
92
-
93
94
DOWNLOAD_ELECTRS_AND_BITCOIND
94
95
95
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo test --verbose --color always --features esplora-blocking
96
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo check --verbose --color always --features esplora-blocking
97
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo test --verbose --color always --features esplora-async
98
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo check --verbose --color always --features esplora-async
99
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo test --verbose --color always --features esplora-async-https
100
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo check --verbose --color always --features esplora-async-https
101
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo test --verbose --color always --features electrum
102
- RUSTFLAGS= " $RUSTFLAGS --cfg no_download " cargo check --verbose --color always --features electrum
96
+ cargo test --verbose --color always --features esplora-blocking
97
+ cargo check --verbose --color always --features esplora-blocking
98
+ cargo test --verbose --color always --features esplora-async
99
+ cargo check --verbose --color always --features esplora-async
100
+ cargo test --verbose --color always --features esplora-async-https
101
+ cargo check --verbose --color always --features esplora-async-https
102
+ cargo test --verbose --color always --features electrum
103
+ cargo check --verbose --color always --features electrum
103
104
popd
104
105
105
106
echo -e " \n\nTest futures builds"
0 commit comments