Add background-processor to the with-std bindings
authorMatt Corallo <git@bluematt.me>
Tue, 1 Jun 2021 14:45:09 +0000 (14:45 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 2 Jun 2021 16:25:51 +0000 (16:25 +0000)
genbindings.sh
lightning-c-bindings/Cargo.toml

index 739699977e58319c4c12188761f35e5a11c951a5..406dded6a6ff7c87960be9687ab0ea93ee6164c8 100755 (executable)
@@ -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"
 
index 40d316ede15ebaa4557afbcd77d60c232605414b..11cf47003b83cb2aa6da3a99150b0d7015145330 100644 (file)
@@ -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.