1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! UltraSlayer – a DRAM‑refresh‑stall‑immune memory slab.
//!
//! The public API is intentionally small:
//! * `UltraSlayer<T>` – the high‑performance slab itself.
//! * `HugeSlab<T>` – the low‑level backing allocator.
//! * `ArchConfig` – CPU‑affinity / NUMA helpers.
//! * `SpinPolicy` – runtime spin‑policy selector.
//! * `ShmSlab<T>` – POSIX shared‑memory wrapper (optional).
//! * `Slice<T>` – zero‑copy view into a slab.
//! * (optional) C‑FFI side‑car when the `sidecar` feature is enabled.
//!
//! The library is deliberately `no_std`‑compatible *inside* the core, but
//! the public wrapper uses the standard library for convenience.
/// Architecture‑specific helpers (CPU pinning, NUMA, etc.).
/// Low‑level memory‑allocation and mirroring logic.
/// The high‑level slab type (`UltraSlayer<T>`) and its public methods.
/// Re‑export the most‑used items so downstream crates can write
/// `use ultraslayer::{UltraSlayer, HugeSlab, ArchConfig, SpinPolicy};`
pub use ;
pub use HugeSlab;
pub use ArchConfig;
// Optional: Zero-copy slice view
pub use Slice;
// Optional: Shared-memory wrapper (Linux only)
pub use ShmSlab;
// Optional: C-FFI side-car
pub use *;