From: Matt Corallo Date: Fri, 3 Mar 2023 02:04:32 +0000 (+0000) Subject: Add `lightning-background-processor`'s new std feature X-Git-Tag: v0.0.114.0^2~7 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c2700a649b5c6a1f9fb2c3f705b7dc4b647aecfb;p=ldk-c-bindings Add `lightning-background-processor`'s new std feature --- diff --git a/genbindings.sh b/genbindings.sh index 65dbb25..5f2c26f 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -183,14 +183,14 @@ echo > /tmp/crate-source.txt if [ "$2" = "true" ]; then add_crate lightning lightning --features=std add_crate "lightning-persister" "lightning_persister" - add_crate "lightning-background-processor" "lightning_background_processor" + 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" CARGO_BUILD_ARGS="--features=std" else add_crate lightning lightning --features=no-std drop_crate "lightning-persister" - drop_crate "lightning-background-processor" + add_crate "lightning-background-processor" "lightning_background_processor" add_crate "lightning-rapid-gossip-sync" "lightning_rapid_gossip_sync" --features=no-std add_crate "lightning-invoice" "lightning_invoice" --features=no-std CARGO_BUILD_ARGS="--features=no-std" diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index bf7d153..caf7556 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -16,7 +16,7 @@ crate-type = ["staticlib" [features] no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-invoice/no-std", "core2"] -std = ["bitcoin/std", "lightning/std", "lightning-invoice/std"] +std = ["bitcoin/std", "lightning/std", "lightning-invoice/std", "lightning-background-processor/std"] [dependencies] bitcoin = { version = "0.29", default-features = false }