projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd9646
)
Drop the cdylib export of lightning-invoice
2021-06-no-invoice-dylib
author
Matt Corallo
<git@bluematt.me>
Thu, 24 Jun 2021 04:31:33 +0000
(
04:31
+0000)
committer
Matt Corallo
<git@bluematt.me>
Thu, 24 Jun 2021 04:32:25 +0000
(
04:32
+0000)
There are ~zero functions in lightning-invoice that are materially
callable from C, so there isn't any reason to tag it as a cdylib
(and make rustc build it as such). Instead, we have C bindings now.
lightning-invoice/Cargo.toml
patch
|
blob
|
history
diff --git
a/lightning-invoice/Cargo.toml
b/lightning-invoice/Cargo.toml
index 678a677bae9a1102f7f40b372ff94f4ed5f7257a..d44890e1b25eea057edacf8b957a587963ed7a34 100644
(file)
--- a/
lightning-invoice/Cargo.toml
+++ b/
lightning-invoice/Cargo.toml
@@
-17,7
+17,3
@@
bitcoin_hashes = "0.9.4"
[dev-dependencies]
lightning = { version = "0.0.98", path = "../lightning", features = ["_test_utils"] }
-
-[lib]
-crate-type = ["cdylib", "rlib"]
-