1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! *A crate for Zcash key and address management.*
//!
//! `zcash_keys` contains Rust structs, traits and functions for creating Zcash spending
//! and viewing keys and addresses.
//!
//! ## Feature flags
//!
//! ### Wallet derivation
//!
//! The default-enabled `wallet` feature exposes wallet derivation and PCZT APIs.
//! Node clients may omit it while retaining verification and coinbase construction.
//! `zip32-addresses` implies `wallet`.
//!
//! ### ZIP 32 addresses
//!
//! The default-enabled `zip32-addresses` feature provides indexed address
//! generation and diversifier-index recovery using FF1. Consumers that disable
//! default features must enable it explicitly to use these wallet APIs. Direct
//! address construction from diversifiers and note decryption
//! remain available without it.
//!
// Catch documentation errors caused by code changes.
extern crate alloc;
extern crate std;