X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2FCargo.toml;h=76047314ea148ad27d667ec63155a2f91a43bde8;hb=6b4c8e4690116a3bf41054ccac908bfba0a7af01;hp=4790211834c6417e34921a1f31c895188139d67c;hpb=dce831ed20b19cee709e4788636037eb070e3973;p=rust-lightning diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index 47902118..76047314 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -15,8 +15,20 @@ crate-type = ["staticlib" ,"cdylib"] [dependencies] -bitcoin = "0.24" -lightning = { version = "0.0.11", path = "../lightning" } +bitcoin = "0.26" +secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] } +lightning = { version = "0.0.12", path = "../lightning" } + +[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" # We eventually want to join the root workspace, but for now, the bindings generation is # a bit brittle and we don't want to hold up other developers from making changes just