zcash_address: Show feature flags in documentation

This commit is contained in:
Jack Grigg 2024-01-12 02:44:15 +00:00
parent 3f006bffac
commit 6570116384
2 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,10 @@ rust-version = "1.52"
categories = ["cryptography::cryptocurrencies", "encoding"]
keywords = ["zcash", "address", "sapling", "unified"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
bech32 = "0.9"
bs58 = { version = "0.5", features = ["check"] }

View File

@ -1,3 +1,8 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Catch documentation errors caused by code changes.
#![deny(rustdoc::broken_intra_doc_links)]
mod convert;
mod encoding;
mod kind;