Skip to content

Commit 7ee287b

Browse files
committed
f Move lightning-transaction-sync out of workspace
.. not sure we want to do this, but including it anyways.
1 parent 6fedd1c commit 7ee287b

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ members = [
1313
"lightning-background-processor",
1414
"lightning-rapid-gossip-sync",
1515
"lightning-custom-message",
16-
"lightning-transaction-sync",
1716
"lightning-macros",
1817
"lightning-dns-resolver",
1918
"lightning-liquidity",
2019
"possiblyrandom",
2120
]
2221

2322
exclude = [
23+
"lightning-transaction-sync",
2424
"no-std-check",
2525
"msrv-no-dev-deps-check",
2626
"bench",

ci/ci-tx-sync-tests.sh

+13-9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ set -eox pipefail
33

44
RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }')
55

6+
pushd lightning-transaction-sync
7+
68
# Some crates require pinning to meet our MSRV even for our downstream users,
79
# which we do here.
810
# Further crates which appear only as dev-dependencies are pinned further down.
@@ -18,18 +20,20 @@ PIN_RELEASE_DEPS # pin the release dependencies
1820
export RUST_BACKTRACE=1
1921

2022
echo -e "\n\nChecking Transaction Sync Clients with features."
21-
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-blocking
22-
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async
23-
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async-https
24-
cargo check -p lightning-transaction-sync --verbose --color always --features electrum
23+
cargo check --verbose --color always --features esplora-blocking
24+
cargo check --verbose --color always --features esplora-async
25+
cargo check --verbose --color always --features esplora-async-https
26+
cargo check --verbose --color always --features electrum
2527

2628
if [ -z "$CI_ENV" ] && [[ -z "$BITCOIND_EXE" || -z "$ELECTRS_EXE" ]]; then
2729
echo -e "\n\nSkipping testing Transaction Sync Clients due to BITCOIND_EXE or ELECTRS_EXE being unset."
28-
cargo check -p lightning-transaction-sync --tests
30+
cargo check --tests
2931
else
3032
echo -e "\n\nTesting Transaction Sync Clients with features."
31-
cargo test -p lightning-transaction-sync --verbose --color always --features esplora-blocking
32-
cargo test -p lightning-transaction-sync --verbose --color always --features esplora-async
33-
cargo test -p lightning-transaction-sync --verbose --color always --features esplora-async-https
34-
cargo test -p lightning-transaction-sync --verbose --color always --features electrum
33+
cargo test --verbose --color always --features esplora-blocking
34+
cargo test --verbose --color always --features esplora-async
35+
cargo test --verbose --color always --features esplora-async-https
36+
cargo test --verbose --color always --features electrum
3537
fi
38+
39+
popd

lightning-transaction-sync/Cargo.toml

+8-2
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,11 @@ tokio = { version = "1.35.0", features = ["macros"] }
3737
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
3838
electrsd = { version = "0.28.0", default-features = false, features = ["legacy"] }
3939

40-
[lints]
41-
workspace = true
40+
[lints.rust.unexpected_cfgs]
41+
level = "forbid"
42+
# When adding a new cfg attribute, ensure that it is added to this list.
43+
#
44+
# Note that Cargo automatically declares corresponding cfgs for every feature
45+
# defined in the member-level [features] tables as "expected".
46+
check-cfg = [
47+
]

0 commit comments

Comments
 (0)