Generate docs with features for docs.rs
[rust-lightning] / lightning-net-tokio / Cargo.toml
index 370e3cc4261d0eaa3fc11ccc34a4d25e4d683e01..2b495a117b50b9f9cce50252ebdc00fa47aef69f 100644 (file)
@@ -10,6 +10,10 @@ For Rust-Lightning clients which wish to make direct connections to Lightning P2
 """
 edition = "2018"
 
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
+
 [dependencies]
 bitcoin = "0.27"
 lightning = { version = "0.0.104", path = "../lightning" }