Skip to content

Commit 2b10d27

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning-rapid-gossip-sync/Cargo.toml

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

1212
[features]
1313
default = ["std"]
14-
std = []
14+
std = ["lightning/std"]
1515

1616
[dependencies]
1717
lightning = { version = "0.0.124", path = "../lightning", default-features = false }

lightning/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ max_level_trace = []
3030
unsafe_revoked_tx_signing = []
3131

3232
no-std = ["hashbrown", "possiblyrandom", "libm"]
33-
std = []
33+
std = ["bitcoin/std"]
3434

3535
# Generates low-r bitcoin signatures, which saves 1 byte in 50% of the cases
3636
grind_signatures = []

0 commit comments

Comments
 (0)