]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Add rapid gossip sync crate to generation in `std` mode.
authorMatt Corallo <git@bluematt.me>
Wed, 22 Jun 2022 18:58:18 +0000 (18:58 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 17:16:28 +0000 (17:16 +0000)
genbindings.sh
lightning-c-bindings/Cargo.toml

index 31b6bd0a09f27d63bc5773d03398efe882962c24..706c0ba8a0b94232b4a9b159d61b0f597d26367c 100755 (executable)
@@ -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
index a6c075d813ac99914da68ba5474c700bccc06cce..9af7f69a0a8f5f988a302461a742dc46b92c2467 100644 (file)
@@ -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 }