Skip to content

Commit

Permalink
Re-add optional std feature dependencies to fix RGS builds
Browse files Browse the repository at this point in the history
We previously removed these, leading to failure to build under default
features including `std`.
  • Loading branch information
tnull committed Sep 16, 2024
1 parent db905e8 commit 98b769a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lightning-background-processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[features]
futures = [ ]
std = []
std = ["lightning-rapid-gossip-sync/std"]

default = ["std"]

Expand Down
4 changes: 3 additions & 1 deletion lightning-rapid-gossip-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ Utility to process gossip routing data from Rapid Gossip Sync Server.

[features]
default = ["std"]
std = []
std = ["bitcoin-io/std", "bitcoin_hashes/std"]

[dependencies]
lightning = { version = "0.0.124", path = "../lightning", default-features = false }
bitcoin = { version = "0.32.2", default-features = false }
bitcoin_hashes = { version = "0.14.0", default-features = false }
bitcoin-io = { version = "0.1.2", default-features = false }

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

0 comments on commit 98b769a

Please sign in to comment.