2020-08-15 21:55:28 -07:00
|
|
|
//! Core Zcash data structures. 🦓
|
2020-08-05 17:34:30 -07:00
|
|
|
//!
|
2020-08-15 21:55:28 -07:00
|
|
|
//! This crate provides definitions of core datastructures for Zcash, such as
|
|
|
|
//! blocks, transactions, addresses, etc.
|
2020-02-26 21:10:08 -08:00
|
|
|
|
2020-07-17 16:45:29 -07:00
|
|
|
#![doc(html_favicon_url = "https://www.zfnd.org/images/zebra-favicon-128.png")]
|
2020-02-26 21:10:08 -08:00
|
|
|
#![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")]
|
|
|
|
#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_chain")]
|
2020-10-02 15:51:51 -07:00
|
|
|
// #![deny(missing_docs)]
|
2020-09-05 16:31:11 -07:00
|
|
|
#![allow(clippy::try_err)]
|
2020-11-30 18:20:57 -08:00
|
|
|
// Disable some broken or unwanted clippy nightly lints
|
2021-01-17 20:31:01 -08:00
|
|
|
// Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
|
|
|
|
#![allow(unknown_lints)]
|
|
|
|
// Disable old lint warnings on nightly until 1.51 is stable
|
|
|
|
#![allow(renamed_and_removed_lints)]
|
|
|
|
// Use the old lint name to build without warnings on stable until 1.51 is stable
|
2020-11-15 19:00:08 -08:00
|
|
|
#![allow(clippy::unknown_clippy_lints)]
|
2021-01-17 20:31:01 -08:00
|
|
|
// The actual lints we want to disable
|
2020-11-30 18:20:57 -08:00
|
|
|
#![allow(clippy::unnecessary_wraps)]
|
2019-09-10 13:27:10 -07:00
|
|
|
|
2020-03-10 16:44:19 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate serde;
|
|
|
|
|
2020-08-15 18:02:07 -07:00
|
|
|
pub mod amount;
|
|
|
|
pub mod block;
|
2020-11-30 13:30:37 -08:00
|
|
|
pub mod fmt;
|
2020-08-09 16:56:57 -07:00
|
|
|
pub mod parameters;
|
2020-08-15 16:33:46 -07:00
|
|
|
pub mod primitives;
|
2020-08-15 18:02:07 -07:00
|
|
|
pub mod sapling;
|
2019-09-19 07:45:37 -07:00
|
|
|
pub mod serialization;
|
2021-02-03 01:03:28 -08:00
|
|
|
pub mod shutdown;
|
2020-08-15 18:02:07 -07:00
|
|
|
pub mod sprout;
|
2019-09-19 07:45:37 -07:00
|
|
|
pub mod transaction;
|
2020-08-15 18:02:07 -07:00
|
|
|
pub mod transparent;
|
2020-08-15 00:14:07 -07:00
|
|
|
pub mod work;
|
2020-10-02 15:51:51 -07:00
|
|
|
|
|
|
|
#[cfg(any(test, feature = "proptest-impl"))]
|
2021-04-22 20:19:33 -07:00
|
|
|
pub use block::LedgerState;
|