mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-18 13:24:36 +01:00
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`.
This commit is contained in:
parent
6662c5c7b9
commit
3c1a5d3aa1
@ -15,12 +15,14 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[features]
|
||||
futures = [ ]
|
||||
std = []
|
||||
std = ["lightning/std", "bitcoin-io/std", "bitcoin_hashes/std"]
|
||||
|
||||
default = ["std"]
|
||||
|
||||
[dependencies]
|
||||
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 }
|
||||
lightning = { version = "0.0.124", path = "../lightning", default-features = false }
|
||||
lightning-rapid-gossip-sync = { version = "0.0.124", path = "../lightning-rapid-gossip-sync", default-features = false }
|
||||
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user