2024-01-27 08:55:33 -08:00
|
|
|
//! *A crate for Zcash protocol constants and value types.*
|
|
|
|
//!
|
|
|
|
//! `zcash_protocol` contains Rust structs, traits and functions that provide the network constants
|
|
|
|
//! for the Zcash main and test networks, as well types for representing ZEC amounts and value
|
|
|
|
//! balances.
|
|
|
|
//!
|
|
|
|
//! ## Feature flags
|
|
|
|
#![doc = document_features::document_features!()]
|
|
|
|
//!
|
2024-01-27 08:22:01 -08:00
|
|
|
|
2024-01-27 08:55:33 -08:00
|
|
|
#![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)]
|
|
|
|
// Temporary until we have addressed all Result<T, ()> cases.
|
|
|
|
#![allow(clippy::result_unit_err)]
|
|
|
|
|
|
|
|
pub mod consensus;
|
|
|
|
pub mod constants;
|
2024-01-27 10:46:06 -08:00
|
|
|
pub mod value;
|