2 name = "lightning-c-bindings"
4 authors = ["Matt Corallo"]
8 Utilities to fetch the chain from Bitcoin Core REST/RPC Interfaces and feed them into Rust Lightning.
13 crate-type = ["staticlib"
14 # Note that the following line is matched exactly by genbindings to turn off dylib creation
18 no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-invoice/no-std", "lightning-background-processor/no-std", "core2"]
19 std = ["bitcoin/std", "lightning/std", "lightning-invoice/std", "lightning-background-processor/std"]
22 bitcoin = { version = "0.29", default-features = false }
23 secp256k1 = { version = "0.24", features = ["global-context", "recovery"] }
24 # Note that the following line is matched by genbindings to update the path
25 lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.116-bindings", default-features = false }
26 lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.116-bindings", default-features = false }
27 lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.116-bindings", default-features = false }
28 lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.116-bindings", default-features = false }
29 lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.116-bindings", default-features = false }
31 core2 = { version = "0.3.0", optional = true, default-features = false }
33 # Always force panic=abort, further options are set in the genbindings.sh build script