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/?a=commitdiff_plain;h=refs%2Fheads%2F2021-06-no-invoice-dylib;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"] -