1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; pub use rocksdb; /// Error and Result types. mod error; /// The top-level store API. mod merk; /// Provides a container type that allows temporarily taking ownership of a value. // TODO: move this into its own crate pub mod owner; /// Algorithms for generating and verifying Merkle proofs. mod proofs; /// Various helpers useful for tests or benchmarks. pub mod test_utils; /// The core tree data structure. pub mod tree; pub use self::merk::Merk; pub use error::{Error, Result}; pub use proofs::verify as verify_proof; pub use tree::{Batch, BatchEntry, Hash, Op, PanicSource, HASH_LENGTH};