From: Matt Corallo Date: Mon, 14 Oct 2024 18:08:04 +0000 (+0000) Subject: Fix `docs.rs` for crates which depend on `lightning` w/o features X-Git-Tag: v0.0.125^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a6834ebe448a1dd22c67c438ed5bdc584db08f99;p=rust-lightning Fix `docs.rs` for crates which depend on `lightning` w/o features --- diff --git a/lightning-background-processor/Cargo.toml b/lightning-background-processor/Cargo.toml index 70c19c5c7..ecea0370d 100644 --- a/lightning-background-processor/Cargo.toml +++ b/lightning-background-processor/Cargo.toml @@ -11,6 +11,7 @@ edition = "2021" [package.metadata.docs.rs] all-features = true +features = ["lightning/std"] rustdoc-args = ["--cfg", "docsrs"] [features] diff --git a/lightning-rapid-gossip-sync/Cargo.toml b/lightning-rapid-gossip-sync/Cargo.toml index ef28f2943..25db9de99 100644 --- a/lightning-rapid-gossip-sync/Cargo.toml +++ b/lightning-rapid-gossip-sync/Cargo.toml @@ -9,6 +9,10 @@ description = """ Utility to process gossip routing data from Rapid Gossip Sync Server. """ +[package.metadata.docs.rs] +all-features = true +features = ["lightning/std"] + [features] default = ["std"] std = []