projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update genbindings.sh and Cargo.toml for out-of-tree builds
[ldk-c-bindings]
/
lightning-c-bindings
/
Cargo.toml
diff --git
a/lightning-c-bindings/Cargo.toml
b/lightning-c-bindings/Cargo.toml
index 76047314ea148ad27d667ec63155a2f91a43bde8..0b20e3f6cc4d9f8b034340486651def3067836f2 100644
(file)
--- a/
lightning-c-bindings/Cargo.toml
+++ b/
lightning-c-bindings/Cargo.toml
@@
-17,7
+17,8
@@
crate-type = ["staticlib"
[dependencies]
bitcoin = "0.26"
secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] }
[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 = "8b4ea56966878140b11aa3e17b44fcf1e01d6413" }
[patch.crates-io]
# Rust-Secp256k1 PR 279. Should be dropped once merged.
[patch.crates-io]
# Rust-Secp256k1 PR 279. Should be dropped once merged.
@@
-29,8
+30,3
@@
panic = "abort"
[profile.release]
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]