mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
To ensure no-std is honored across dependencies, add a crate depending on lightning crates supporting no-std. This should ensure any regressions are caught. Otherwise, cargo doesn't seem to catch some incompatibilities (e.g., f64::log10 unavailable in core) and seemingly across other dependencies as describe here: https://blog.dbrgn.ch/2019/12/24/testing-for-no-std-compatibility/
11 lines
298 B
TOML
11 lines
298 B
TOML
[package]
|
|
name = "no-std-check"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["lightning/no-std", "lightning-invoice/no-std"]
|
|
|
|
[dependencies]
|
|
lightning = { path = "../lightning", default-features = false }
|
|
lightning-invoice = { path = "../lightning-invoice", default-features = false }
|