From 1a83ffc7dd1e58b330a4fa2245a418638cfa1e59 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 1 Jun 2021 14:45:09 +0000 Subject: [PATCH] Add background-processor to the with-std bindings --- genbindings.sh | 2 ++ lightning-c-bindings/Cargo.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/genbindings.sh b/genbindings.sh index 7396999..406dded 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -112,9 +112,11 @@ echo > /tmp/crate-source.txt if [ "$2" = "true" ]; then add_crate lightning lightning --features=allow_wallclock_use ', features = ["allow_wallclock_use"]' add_crate "lightning-persister" "lightning_persister" + add_crate "lightning-background-processor" "lightning_background_processor" else add_crate lightning lightning drop_crate "lightning-persister" + drop_crate "lightning-background-processor" fi add_crate "lightning-invoice" "lightning_invoice" diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index 40d316e..11cf470 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -21,6 +21,7 @@ secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] } lightning = { git = "https://git.bitcoin.ninja/rust-lightning", rev = "3996eaab6e2eaf5fde9374b51d952c0edef5ea92", features = ["allow_wallclock_use"] } lightning-persister = { git = "https://git.bitcoin.ninja/rust-lightning", rev = "3996eaab6e2eaf5fde9374b51d952c0edef5ea92" } lightning-invoice = { git = "https://git.bitcoin.ninja/rust-lightning", rev = "3996eaab6e2eaf5fde9374b51d952c0edef5ea92" } +lightning-background-processor = { git = "https://git.bitcoin.ninja/rust-lightning", rev = "3996eaab6e2eaf5fde9374b51d952c0edef5ea92" } [patch.crates-io] # Rust-Secp256k1 PR 279. Should be dropped once merged. -- 2.30.2