projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generate docs with features for docs.rs
[rust-lightning]
/
lightning-block-sync
/
Cargo.toml
diff --git
a/lightning-block-sync/Cargo.toml
b/lightning-block-sync/Cargo.toml
index 0a395e8b99da0f557f14a0379494faa1d36242b3..3a7d57956afe4e7707f54b28bcb4c784c6d030ac 100644
(file)
--- a/
lightning-block-sync/Cargo.toml
+++ b/
lightning-block-sync/Cargo.toml
@@
-9,6
+9,10
@@
Utilities to fetch the chain data from a block source and feed them into Rust Li
"""
edition = "2018"
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
+
[features]
rest-client = [ "serde", "serde_json", "chunked_transfer" ]
rpc-client = [ "serde", "serde_json", "chunked_transfer" ]