From b786adff5b7709b26ca968a839a214969189043c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 24 Jun 2021 04:31:33 +0000 Subject: [PATCH] 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. --- lightning-invoice/Cargo.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 678a677b..d44890e1 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"] - -- 2.30.2