Use doc_auto_cfg

This commit is contained in:
Luke Parker
2022-09-29 04:47:55 -04:00
parent 8b0f0a3713
commit 19cd609cba
13 changed files with 16 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ edition = "2021"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
hex-literal = "0.3"

View File

@@ -8,6 +8,7 @@ edition = "2021"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
lazy_static = "1"

View File

@@ -1,3 +1,5 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
///! monero-serai: A modern Monero transaction library intended for usage in wallets. It prides
///! itself on accuracy, correctness, and removing common pit falls developers may face.
///!