#![allow(clippy::nursery)]
#![warn(clippy::all, clippy::pedantic, missing_docs)]
use crate::DefaultMemoryImpl;
use crate::RuntimeMemory;
pub use crate::storable::{Bound, CodecError, Storable};
pub use crate::{Memory, storable};
#[cfg(all(test, not(target_arch = "wasm32")))]
mod improvements_tests;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod owned_tests;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod tests;
mod error;
mod record;
pub use error::CollectionError;
mod tree;
mod region;
pub use region::{BTreeMapRegion, RegionGrowError};
mod map;
pub use map::StableBTreeMap;
mod set;
pub use set::StableBTreeSet;
mod cell;
pub use cell::StableCell;
mod vector;
pub use vector::StableVec;
pub type MapIter<'a, K, V, M = DefaultMemoryImpl> = tree::TreeIter<'a, K, V, RuntimeMemory<M>>;
pub use tree::MapEntry;
pub type SetIter<'a, K, M = DefaultMemoryImpl> = set::SetIter<'a, K, M>;