#![cfg_attr(not(feature = "std"), no_std)]
pub mod group;
pub mod hash;
#[cfg(feature = "std")]
pub mod io;
pub mod proof;
pub mod traversal;
pub mod tree;
pub use hash::{HashBackend, Poseidon2Backend};
pub use tree::{BaoChunk, BaoTree, BlockSize, CHUNK_SIZE, ChunkNum, TreeNode};
#[cfg(feature = "std")]
pub use tree::PostOrderChunkIter;
#[cfg(feature = "std")]
pub type ChunkRanges = range_collections::RangeSet2<ChunkNum>;
#[cfg(feature = "std")]
pub type ChunkRangesRef = range_collections::RangeSetRef<ChunkNum>;
#[cfg(feature = "std")]
pub type ByteRanges = range_collections::RangeSet2<u64>;