Expand description
Safe Global Initialization (Rust 2024 Compatible)
Provides safe alternatives to static mut for global state management.
Uses atomic operations and proper synchronization for Rust 2024 edition.
Structs§
- Global
State - Safe global state with mutex (Rust 2024 compatible)
- Lazy
Lock - Lazy initialization with function (Rust 2024 compatible)
- Once
Lock - A cell that can be written to only once (Rust 2024 compatible)