]> git.bitcoin.ninja Git - rust-lightning/commit
Make `background-processor` no-std-friendly (ish) 2023-01-bp-no-std
authorMatt Corallo <git@bluematt.me>
Tue, 17 Jan 2023 00:16:48 +0000 (00:16 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 17 Jan 2023 20:38:07 +0000 (20:38 +0000)
commitaa4c6f6418d7500307853d125528d65e9170cb15
tree104efedf72e149a31684ba643a1966c1b6f268fa
parente59b3847a363afba5d30e1f1271341e3163f7591
Make `background-processor` no-std-friendly (ish)

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.
lightning-background-processor/Cargo.toml
lightning-background-processor/src/lib.rs
no-std-check/Cargo.toml