Skip to content

Commit 3c1a5d3

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 6662c5c commit 3c1a5d3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lightning-background-processor/Cargo.toml

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

1616
[features]
1717
futures = [ ]
18-
std = []
18+
std = ["lightning/std", "bitcoin-io/std", "bitcoin_hashes/std"]
1919

2020
default = ["std"]
2121

2222
[dependencies]
2323
bitcoin = { version = "0.32.2", default-features = false }
24+
bitcoin_hashes = { version = "0.14.0", default-features = false }
25+
bitcoin-io = { version = "0.1.2", default-features = false }
2426
lightning = { version = "0.0.124", path = "../lightning", default-features = false }
2527
lightning-rapid-gossip-sync = { version = "0.0.124", path = "../lightning-rapid-gossip-sync", default-features = false }
2628

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)