From: Matt Corallo Date: Tue, 4 Jun 2024 20:49:24 +0000 (+0000) Subject: Build the `lightning-transaction-sync` crate in bindings X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=4452efb95684d30a5683afec628c2839056f7c28;p=ldk-c-bindings Build the `lightning-transaction-sync` crate in bindings --- diff --git a/genbindings.sh b/genbindings.sh index bb39994..db3e07a 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -206,12 +206,14 @@ if [ "$2" = "true" ]; then add_crate "lightning-background-processor" "lightning_background_processor" --features=std add_crate "lightning-invoice" "lightning_invoice" --features=std add_crate "lightning-rapid-gossip-sync" "lightning_rapid_gossip_sync" --features=std + add_crate "lightning-transaction-sync" "lightning_transaction_sync" --features=esplora-blocking,electrum else add_crate lightning lightning --features=no-std drop_crate "lightning-persister" add_crate "lightning-background-processor" "lightning_background_processor" --features=no-std - add_crate "lightning-rapid-gossip-sync" "lightning_rapid_gossip_sync" --features=no-std add_crate "lightning-invoice" "lightning_invoice" --features=no-std + add_crate "lightning-rapid-gossip-sync" "lightning_rapid_gossip_sync" --features=no-std + drop_crate "lightning-transaction-sync" CARGO_BUILD_ARGS="--features=no-std" fi diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index f15af9f..863767e 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -26,6 +26,7 @@ lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.123-bindings", default-features = false, features = ["std"] } lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.123-bindings", default-features = false, features = ["std"] } lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.123-bindings", default-features = false, features = ["std"] } +lightning-transaction-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.123-bindings", default-features = false, features = ["esplora-blocking", "electrum"] } core2 = { version = "0.3.0", optional = true, default-features = false } diff --git a/lightning-c-bindings/src/lib.rs b/lightning-c-bindings/src/lib.rs index f4d957d..c88879e 100644 --- a/lightning-c-bindings/src/lib.rs +++ b/lightning-c-bindings/src/lib.rs @@ -26,3 +26,4 @@ pub mod lightning_persister; pub mod lightning_background_processor; pub mod lightning_invoice; pub mod lightning_rapid_gossip_sync; +pub mod lightning_transaction_sync;