Skip to content

Commit 9ac42ed

Browse files
committed
Move lightning-transaction-sync to main workspace
.. so it's actually included in the audit.
1 parent a386ba5 commit 9ac42ed

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ members = [
1010
"lightning-background-processor",
1111
"lightning-rapid-gossip-sync",
1212
"lightning-custom-message",
13+
"lightning-transaction-sync",
1314
]
1415

1516
exclude = [
16-
"lightning-transaction-sync",
1717
"no-std-check",
1818
"msrv-no-dev-deps-check",
1919
"bench",

ci/ci-tests.sh

+14-15
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,14 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
6363
# The addr2line v0.21 crate (a dependency of `backtrace` starting with 0.3.69) relies on rustc 1.65
6464
[ "$RUSTC_MINOR_VERSION" -lt 65 ] && cargo update -p backtrace --precise "0.3.68" --verbose
6565

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+
6669
export RUST_BACKTRACE=1
6770

71+
# Build `lightning-transaction-sync` in no_download mode.
72+
export RUSTFLAGS="$RUSTFLAGS --cfg no_download"
73+
6874
echo -e "\n\nBuilding and testing all workspace crates..."
6975
cargo test --verbose --color always
7076
cargo check --verbose --color always
@@ -84,25 +90,18 @@ popd
8490
if [[ "$HOST_PLATFORM" != *windows* ]]; then
8591
echo -e "\n\nBuilding and testing Transaction Sync Clients with features"
8692
pushd lightning-transaction-sync
87-
8893
# reqwest 0.11.21 had a regression that broke its 1.63.0 MSRV
8994
[ "$RUSTC_MINOR_VERSION" -lt 65 ] && cargo update -p reqwest --precise "0.11.20" --verbose
90-
# Starting with version 1.10.0, the `regex` crate has an MSRV of rustc 1.65.0.
91-
[ "$RUSTC_MINOR_VERSION" -lt 65 ] && cargo update -p regex --precise "1.9.6" --verbose
92-
# Starting with version 0.5.9 (there is no .6-.8), the `home` crate has an MSRV of rustc 1.70.0.
93-
[ "$RUSTC_MINOR_VERSION" -lt 70 ] && cargo update -p home --precise "0.5.5" --verbose
94-
9595
DOWNLOAD_ELECTRS_AND_BITCOIND
9696

97-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo test --verbose --color always --features esplora-blocking
98-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo check --verbose --color always --features esplora-blocking
99-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo test --verbose --color always --features esplora-async
100-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo check --verbose --color always --features esplora-async
101-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo test --verbose --color always --features esplora-async-https
102-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo check --verbose --color always --features esplora-async-https
103-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo test --verbose --color always --features electrum
104-
RUSTFLAGS="$RUSTFLAGS --cfg no_download" cargo check --verbose --color always --features electrum
105-
97+
cargo test --verbose --color always --features esplora-blocking
98+
cargo check --verbose --color always --features esplora-blocking
99+
cargo test --verbose --color always --features esplora-async
100+
cargo check --verbose --color always --features esplora-async
101+
cargo test --verbose --color always --features esplora-async-https
102+
cargo check --verbose --color always --features esplora-async-https
103+
cargo test --verbose --color always --features electrum
104+
cargo check --verbose --color always --features electrum
106105
popd
107106
fi
108107

0 commit comments

Comments
 (0)