X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2FCargo.toml;h=93e4d86e57eef64f6cbe182123eeb2736560105f;hb=b8a21c1e6b1ae94f73708047ea844b04a61f8f1d;hp=76047314ea148ad27d667ec63155a2f91a43bde8;hpb=1495575b517c90da925698da14f627bf0d5b313f;p=ldk-c-bindings diff --git a/lightning-c-bindings/Cargo.toml b/lightning-c-bindings/Cargo.toml index 7604731..93e4d86 100644 --- a/lightning-c-bindings/Cargo.toml +++ b/lightning-c-bindings/Cargo.toml @@ -17,11 +17,15 @@ crate-type = ["staticlib" [dependencies] bitcoin = "0.26" secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] } -lightning = { version = "0.0.12", path = "../lightning" } +# Note that the following line is matched by genbindings to update the path +lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "294009969aef617df4184ff41ef6daa5a445f213", features = ["allow_wallclock_use"] } +lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "294009969aef617df4184ff41ef6daa5a445f213" } +lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "294009969aef617df4184ff41ef6daa5a445f213" } +lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "294009969aef617df4184ff41ef6daa5a445f213" } [patch.crates-io] -# Rust-Secp256k1 PR 279. Should be dropped once merged. -secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1', rev = '15a0d4195a20355f6b1e8f54c84eba56abc15cbd' } +# Rust-Secp256k1 upstream to get PR 279 until it is released. +secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1' } # Always force panic=abort, further options are set in the genbindings.sh build script [profile.dev] @@ -29,8 +33,3 @@ 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 -# because they break the bindings -[workspace]