X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2FCargo.toml;h=9f7210386b629ad4c10be009129a8673180a1bff;hb=cd0b212e4dac84c9e276c383c135cc9f7e8e3dfc;hp=7c569abc7e35868e0a96f9fa79f4206270000666;hpb=9fba7c92ad42c847923ddefc7c3f852b2eb17496;p=rust-lightning diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index 7c569abc..9f721038 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -16,8 +16,13 @@ crate-type = ["staticlib" [dependencies] 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' } + # 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 # because they break the bindings