Move `lightning-transaction-sync` out of the main workspace 2023-02-fning-msrv
authorMatt Corallo <git@bluematt.me>
Mon, 27 Feb 2023 17:32:07 +0000 (17:32 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Feb 2023 19:01:29 +0000 (19:01 +0000)
Because `lightning-transaction-sync` does not have an MSRV (and
because its dev-dependencies are huge), we can't build it by
default when devs run `cargo test`, so it is moved out of the
top-level workspace.

.github/workflows/build.yml
Cargo.toml

index d66498d48969402e08353560c56092a4dbcc6547..9fb37f1b4a27571fd098c2f66f55a0d0d3ecae63 100644 (file)
@@ -86,10 +86,10 @@ jobs:
         run: cargo update -p tokio --precise "1.14.0" --verbose
         env:
           CARGO_NET_GIT_FETCH_WITH_CLI: "true"
-      - name: Build on Rust ${{ matrix.toolchain }} with net-tokio and tx-sync
-        if: "matrix.build-net-tokio && !matrix.coverage && matrix.build-tx-sync"
+      - name: Build on Rust ${{ matrix.toolchain }} with net-tokio
+        if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo build --verbose --color always
-      - name: Build on Rust ${{ matrix.toolchain }} with net-tokio, tx-sync, and full code-linking for coverage generation
+      - name: Build on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
         if: matrix.coverage
         run: RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always
       - name: Build on Rust ${{ matrix.toolchain }}
@@ -144,9 +144,9 @@ jobs:
         run: |
           cd lightning && cargo test --verbose --color always --features backtrace
       - name: Test on Rust ${{ matrix.toolchain }} with net-tokio
-        if: "matrix.build-net-tokio && !matrix.coverage && matrix.build-tx-sync"
+        if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo test --verbose --color always
-      - name: Test on Rust ${{ matrix.toolchain }} with net-tokio, tx-sync, and full code-linking for coverage generation
+      - name: Test on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
         if: matrix.coverage
         run: RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
       - name: Test no-std builds on Rust ${{ matrix.toolchain }}
index be76477f4c0f0548121cc8f5770053e798bbd3d0..5412c496eac6afad0fa1bfe2ff8ec514a145eb6c 100644 (file)
@@ -3,7 +3,6 @@
 members = [
     "lightning",
     "lightning-block-sync",
-    "lightning-transaction-sync",
     "lightning-invoice",
     "lightning-net-tokio",
     "lightning-persister",
@@ -13,6 +12,7 @@ members = [
 
 exclude = [
     "lightning-custom-message",
+    "lightning-transaction-sync",
     "no-std-check",
 ]