merkle_search_tree/
lib.rs

1#![doc = include_str!("../README.md")]
2#![deny(rustdoc::broken_intra_doc_links, rust_2018_idioms)]
3#![allow(clippy::default_constructed_unit_structs)]
4#![warn(
5    clippy::clone_on_ref_ptr,
6    clippy::dbg_macro,
7    clippy::explicit_iter_loop,
8    clippy::future_not_send,
9    clippy::todo,
10    clippy::use_self,
11    missing_copy_implementations,
12    missing_debug_implementations,
13    unused_crate_dependencies,
14    unreachable_pub,
15    missing_docs
16)]
17
18//   Copyright 2023 Dominic Dwyer (dom@itsallbroken.com)
19//
20//   Licensed under the Apache License, Version 2.0 (the "License"); you may not
21//   use this file except in compliance with the License. You may obtain a copy
22//   of the License at
23//
24//       http://www.apache.org/licenses/LICENSE-2.0
25//
26//   Unless required by applicable law or agreed to in writing, software
27//   distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
28//   WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
29//   License for the specific language governing permissions and limitations
30//   under the License.
31
32// Silence unused_crate_dependencies false positive.
33#[cfg(test)]
34use criterion as _;
35#[cfg(test)]
36use tracing_subscriber as _;
37
38/// Tracing event/log helpers.
39#[macro_use]
40mod tracing;
41
42#[cfg(test)]
43mod test_assert;
44
45pub mod builder;
46pub mod diff;
47pub mod digest;
48mod node;
49mod node_iter;
50mod page;
51mod tree;
52pub mod visitor;
53
54#[cfg(test)]
55pub(crate) mod test_util;
56
57pub use node::*;
58pub use page::*;
59pub use tree::*;