zan_sort/prelude.rs
1//! The `zan-sort` Prelude
2//!
3//! This module provides a convenient way to import the core traits and sorting
4//! functions required to leverage the high-performance sorting engine.
5//!
6//! By glob-importing this module, you bring `SortKey` and the primary sorting
7//! routines into scope immediately, enabling out-of-the-box usage.
8//!
9//! # Example
10//!
11//! ```rust
12//! use zan_sort::prelude::*;
13//!
14//! let mut data = vec![99u32, 42, 1, 7, 3];
15//! zan_sort(&mut data);
16//! ```
17
18pub use crate::core::{custom_insertion_sort, zan_sort, SortKey};