From a6834ebe448a1dd22c67c438ed5bdc584db08f99 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 14 Oct 2024 18:08:04 +0000 Subject: [PATCH] Fix `docs.rs` for crates which depend on `lightning` w/o features --- lightning-background-processor/Cargo.toml | 1 + lightning-rapid-gossip-sync/Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) 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 = [] -- 2.39.5