mod arena;
mod budget;
pub mod collect;
mod context;
mod deflate;
mod error;
mod input;
mod policy;
mod probe;
mod sort;
mod space;
#[cfg(feature = "test-support")]
#[doc(hidden)]
pub mod test_support;
pub mod tree;
mod unique;
mod utf16;
mod view;
pub mod work_scratch;
pub mod zstd;
#[cfg(test)]
mod tests;
pub use arena::DecodeArena;
pub use budget::{
refuse_local_limit, work_units, BudgetExhausted, DepthGuard, ScopedReservation, WorkBudget,
WorkBudgetRecursionGuard,
};
pub use context::{DecodeContext, ExpandSpec, ExpandWriter};
pub use error::{ResourceDimension, ResourceFailure, ResourceLimit, SourceLocation};
pub use policy::{DecodeMode, DecodePolicy, InspectOptions, ResourceLimits};
pub use probe::{ParseError, ParseErrorKind};
pub use space::{ByteRange, SpaceId};
pub use view::{
bounded_len, id_from_index, index_from_u32, index_from_u64, u64_from_index, BoundedCount, View,
};