From: Matt Corallo Date: Thu, 24 Jun 2021 04:31:33 +0000 (+0000) Subject: Drop the cdylib export of lightning-invoice X-Git-Tag: v0.0.99~15^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b786adff5b7709b26ca968a839a214969189043c;p=rust-lightning Drop the cdylib export of lightning-invoice 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. --- diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 678a677ba..d44890e1b 100644 --- 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"] -