]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix `docs.rs` for crates which depend on `lightning` w/o features
authorMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 18:08:04 +0000 (18:08 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 18:09:20 +0000 (18:09 +0000)
lightning-background-processor/Cargo.toml
lightning-rapid-gossip-sync/Cargo.toml

index 70c19c5c76dd20ea9ad01cf9fb0e64a31def8846..ecea0370d4a146c1092c258a5d8d00764732c51f 100644 (file)
@@ -11,6 +11,7 @@ edition = "2021"
 
 [package.metadata.docs.rs]
 all-features = true
+features = ["lightning/std"]
 rustdoc-args = ["--cfg", "docsrs"]
 
 [features]
index ef28f2943788fe204d110386f3a934e9473813bd..25db9de99192e5b4fd4e4e3c3a705eadb70b2a6f 100644 (file)
@@ -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 = []