Generate docs with features for docs.rs
[rust-lightning] / lightning-background-processor / Cargo.toml
index 1837cb17e664839de009f2c01ba2a2ac3055d6dd..0341cd5aedc7dcb0506f5ddce4532e25de682d74 100644 (file)
@@ -9,6 +9,10 @@ Utilities to perform required background tasks for Rust Lightning.
 """
 edition = "2018"
 
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
+
 [dependencies]
 bitcoin = "0.27"
 lightning = { version = "0.0.104", path = "../lightning", features = ["std"] }