mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 06:57:53 +01:00
Add lightning-background-processor
no-std
feature
While this is generally uneccessary as users set the `no-std` or `std` features on the `lightning` crate directly, having this allows `lightning-background-processor` to be built by itself without extra dep lines. Specifically, the bindings are moving to using the `-Z avoid-dev-deps` option, which now causes `lightning-background-processor` to fail to build directly.
This commit is contained in:
parent
0fadb54d7f
commit
ae33b093b8
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ rustdoc-args = ["--cfg", "docsrs"]
|
|||
|
||||
[features]
|
||||
futures = [ ]
|
||||
std = ["lightning/std", "lightning-rapid-gossip-sync/std"]
|
||||
std = ["bitcoin/std", "lightning/std", "lightning-rapid-gossip-sync/std"]
|
||||
no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-rapid-gossip-sync/no-std"]
|
||||
|
||||
default = ["std"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue