mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
This makes `background-processor` build without `std` at all. This isn't particularly useful in the general no-std case as `background-processor` is only useful with the `futures` feature, and async will generally need `std` in some way or another. Still, it ensures we don't end up reintroducing a dependency on the current time, which breaks `wasm` use-cases.
13 lines
566 B
TOML
13 lines
566 B
TOML
[package]
|
|
name = "no-std-check"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["lightning/no-std", "lightning-invoice/no-std", "lightning-rapid-gossip-sync/no-std"]
|
|
|
|
[dependencies]
|
|
lightning = { path = "../lightning", default-features = false }
|
|
lightning-invoice = { path = "../lightning-invoice", default-features = false }
|
|
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", default-features = false }
|
|
lightning-background-processor = { path = "../lightning-background-processor", features = ["futures"], default-features = false }
|