mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Merge pull request #2069 from TheBlueMatt/2023-03-no-tx-sync-auto-std
Do not auto-select the lightning `std` feature from tx-sync crate
This commit is contained in:
commit
852cf2b3f2
3 changed files with 8 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -168,7 +168,7 @@ jobs:
|
|||
done
|
||||
# check no-std compatibility across dependencies
|
||||
cd no-std-check
|
||||
cargo check --verbose --color always
|
||||
cargo check --verbose --color always --features lightning-transaction-sync
|
||||
- name: Build no-std-check on Rust ${{ matrix.toolchain }} for ARM Embedded
|
||||
if: "matrix.build-no-std && matrix.platform == 'ubuntu-latest'"
|
||||
run: |
|
||||
|
|
|
@ -20,13 +20,14 @@ esplora-blocking = ["esplora-client/blocking"]
|
|||
async-interface = []
|
||||
|
||||
[dependencies]
|
||||
lightning = { version = "0.0.113", path = "../lightning" }
|
||||
bitcoin = "0.29.0"
|
||||
lightning = { version = "0.0.113", path = "../lightning", default-features = false }
|
||||
bitcoin = { version = "0.29.0", default-features = false }
|
||||
bdk-macros = "0.6"
|
||||
futures = { version = "0.3", optional = true }
|
||||
esplora-client = { version = "0.3.0", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
lightning = { version = "0.0.113", path = "../lightning", features = ["std"] }
|
||||
electrsd = { version = "0.22.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_23_0"] }
|
||||
electrum-client = "0.12.0"
|
||||
once_cell = "1.16.0"
|
||||
|
|
|
@ -11,3 +11,7 @@ lightning = { path = "../lightning", default-features = false }
|
|||
lightning-invoice = { path = "../lightning-invoice", default-features = false }
|
||||
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", default-features = false }
|
||||
lightning-background-processor = { path = "../lightning-background-processor", features = ["futures"], default-features = false }
|
||||
|
||||
# Obviously lightning-transaction-sync doesn't support no-std, but it should build
|
||||
# even if lightning is built with no-std.
|
||||
lightning-transaction-sync = { path = "../lightning-transaction-sync", optional = true }
|
||||
|
|
Loading…
Add table
Reference in a new issue