Skip to content

Commit a99edca

Browse files
committed
Re-add optional std feature dependencies to fix RGS and BP builds
We previously removed these, leading to failure to build under default features including `std`.
1 parent db905e8 commit a99edca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lightning-background-processor/Cargo.toml

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

1616
[features]
1717
futures = [ ]
18-
std = []
18+
std = ["lightning/std", "lightning-rapid-gossip-sync/std"]
1919

2020
default = ["std"]
2121

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ Utility to process gossip routing data from Rapid Gossip Sync Server.
1111

1212
[features]
1313
default = ["std"]
14-
std = []
14+
std = ["bitcoin-io/std", "bitcoin_hashes/std"]
1515

1616
[dependencies]
1717
lightning = { version = "0.0.124", path = "../lightning", default-features = false }
1818
bitcoin = { version = "0.32.2", default-features = false }
19+
bitcoin_hashes = { version = "0.14.0", default-features = false }
20+
bitcoin-io = { version = "0.1.2", default-features = false }
1921

2022
[target.'cfg(ldk_bench)'.dependencies]
2123
criterion = { version = "0.4", optional = true, default-features = false }

0 commit comments

Comments
 (0)