Drop the cdylib export of lightning-invoice 2021-06-no-invoice-dylib
authorMatt Corallo <git@bluematt.me>
Thu, 24 Jun 2021 04:31:33 +0000 (04:31 +0000)
committerMatt 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

index 678a677bae9a1102f7f40b372ff94f4ed5f7257a..d44890e1b25eea057edacf8b957a587963ed7a34 100644 (file)
@@ -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"]
-