#![warn(rust_2018_idioms)]
#![warn(rust_2021_compatibility)]
#![warn(missing_debug_implementations)]
#![warn(unreachable_pub)]
#![warn(unsafe_code)]
#![warn(rustdoc::broken_intra_doc_links)]
#![warn(clippy::pedantic)]
#![warn(clippy::clone_on_ref_ptr)]
#![warn(clippy::missing_const_for_fn)]
#![warn(clippy::self_named_module_files)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::default_trait_access)]
#![allow(clippy::missing_errors_doc)]
mod edge;
pub use self::edge::{HalfEdge, HalfEdgeRef};
mod node;
pub use self::node::{InnerNode, LeafNode, Node, NodeValue};
mod node_id;
pub use self::node_id::NodeId;
mod path;
pub use self::path::{PathSegment, PathSegmentRef, RootPath, SegmentedPath};
mod tree;
pub use self::tree::{
InsertOrUpdateNodeValueError, MatchNodePath, MatchedNodePath, ParentChildTreeNode, PathTree,
PathTreeTypes, RemovedSubTree, ResolvedNodePath, TreeNode,
};
#[cfg(feature = "im")]
type HashMap<K, V> = im::HashMap<K, V>;
#[cfg(not(feature = "im"))]
type HashMap<K, V> = std::collections::HashMap<K, V>;
#[cfg(test)]
mod tests;