zcash_address: Show feature flags in documentation
This commit is contained in:
parent
3f006bffac
commit
6570116384
|
@ -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"] }
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue