add_crate lightning lightning --features=std
add_crate "lightning-persister" "lightning_persister"
add_crate "lightning-background-processor" "lightning_background_processor"
- add_crate "lightning-invoice" "lightning_invoice"
+ add_crate "lightning-invoice" "lightning_invoice" --features=std
CARGO_BUILD_ARGS="--features=std"
else
add_crate lightning lightning --features=no-std
drop_crate "lightning-persister"
drop_crate "lightning-background-processor"
- drop_crate "lightning-invoice"
+ add_crate "lightning-invoice" "lightning_invoice" --features=no-std
CARGO_BUILD_ARGS="--features=no-std"
fi
,"cdylib"]
[features]
-no-std = ["bitcoin/no-std", "lightning/no-std", "core2"]
-std = ["bitcoin/std", "lightning/std"]
+no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-invoice/no-std", "core2"]
+std = ["bitcoin/std", "lightning/std", "lightning-invoice/std"]
[dependencies]
bitcoin = { version = "0.27", default-features = false }