Files
reth/crates/trie/sparse/src/lib.rs
2025-12-18 20:50:54 -05:00

32 lines
645 B
Rust

//! The implementation of sparse MPT.
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;
mod state;
pub use state::*;
mod trie;
pub use trie::*;
mod traits;
pub use traits::*;
pub mod provider;
mod hash_cache;
pub use hash_cache::{hash_trie_node_cached, rlp_node_from_rlp_cached};
#[cfg(feature = "metrics")]
mod metrics;
/// Re-export sparse trie error types.
pub mod errors {
pub use reth_execution_errors::{
SparseStateTrieError, SparseStateTrieErrorKind, SparseStateTrieResult, SparseTrieError,
SparseTrieErrorKind, SparseTrieResult,
};
}