[package] name = "lightning-c-bindings" version = "0.0.1" authors = ["Matt Corallo"] license = "Apache-2.0" edition = "2018" description = """ Utilities to fetch the chain from Bitcoin Core REST/RPC Interfaces and feed them into Rust Lightning. """ [lib] name = "ldk" crate-type = ["staticlib" # Note that the following line is matched exactly by genbindings to turn off dylib creation ,"cdylib"] [dependencies] bitcoin = "0.26" secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] } # Note that the following line is matched by genbindings to update the path lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "fba204b02ee4faece07a2ddf152f34507773ad4d" } [patch.crates-io] # Rust-Secp256k1 PR 279. Should be dropped once merged. secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1', rev = '15a0d4195a20355f6b1e8f54c84eba56abc15cbd' } # Always force panic=abort, further options are set in the genbindings.sh build script [profile.dev] panic = "abort" [profile.release] panic = "abort"