From: Matt Corallo Date: Wed, 22 Jun 2022 18:58:18 +0000 (+0000) Subject: Add rapid gossip sync crate to generation in `std` mode. X-Git-Tag: v0.0.108.0^2~4 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a0e439c6373cd0445fbb3b0408751b8e69b17a9a;p=ldk-c-bindings Add rapid gossip sync crate to generation in `std` mode. --- diff --git a/genbindings.sh b/genbindings.sh index 31b6bd0..706c0ba 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -182,11 +182,13 @@ if [ "$2" = "true" ]; then add_crate "lightning-persister" "lightning_persister" add_crate "lightning-background-processor" "lightning_background_processor" add_crate "lightning-invoice" "lightning_invoice" --features=std + add_crate "lightning-rapid-gossip-sync" "lightning_rapid_gossip_sync" CARGO_BUILD_ARGS="--features=std" else add_crate lightning lightning --features=no-std drop_crate "lightning-persister" drop_crate "lightning-background-processor" + drop_crate "lightning-rapid-gossip-sync" add_crate "lightning-invoice" "lightning_invoice" --features=no-std CARGO_BUILD_ARGS="--features=no-std" fi diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index a6c075d..9af7f69 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -26,6 +26,7 @@ lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.106-bindings", default-features = false } lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.106-bindings", default-features = false } lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.106-bindings", default-features = false } +lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.106-bindings", default-features = false } core2 = { version = "0.3.0", optional = true, default-features = false }