#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(has_allocator_api, feature(allocator_api))]
#![deny(unsafe_op_in_unsafe_fn)]
#![warn(clippy::undocumented_unsafe_blocks)]
#![doc = include_str!("common-readme.md")]
#[cfg(not(any_allocator_api))]
compile_error!("allocator_api or allocator-fallback must be enabled");
extern crate alloc;
#[cfg(feature = "allocator_api")]
use alloc::alloc as allocator;
#[cfg(not(feature = "allocator_api"))]
#[cfg(feature = "allocator-fallback")]
use allocator_fallback as allocator;
pub mod basic;
mod list;
pub mod options;
mod persistent_alloc;
#[cfg(skippy_debug)]
pub use list::debug;
pub use list::{AllocItem, LeafNext, LeafRef, SkipList, This, iter};
pub use options::{LeafSize, ListOptions, NoSize, Options};
use persistent_alloc::PersistentAlloc;