Skip to content

Commit ae33b09

Browse files
committed
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.
1 parent 0fadb54 commit ae33b09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning-background-processor/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[features]
1717
futures = [ ]
18-
std = ["lightning/std", "lightning-rapid-gossip-sync/std"]
18+
std = ["bitcoin/std", "lightning/std", "lightning-rapid-gossip-sync/std"]
19+
no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-rapid-gossip-sync/no-std"]
1920

2021
default = ["std"]
2122

0 commit comments

Comments
 (0)