static-generics 0.1.3

Zero-cost generic statics for Rust.
Documentation
[package]
name = "static-generics"
version = "0.1.3"
edition = "2024"
rust-version = "1.85"
description = "Zero-cost generic statics for Rust."
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/static-generics"
keywords = ["generic", "static", "no-std", "statics"]
categories = ["no-std", "rust-patterns"]
repository = "https://codeberg.org/playxe/static-generics"

[dependencies]
bytemuck = { version = "1.25.2", features = ["zeroable_atomics", "zeroable_maybe_uninit"] }
cfg-if = "1"
parking_lot = { version = "0.12.5", optional = true }

[features]
default = ["std"]
# Enables the slow `std`-based fallback for unsupported platforms.
# Also recommended to enable for `OnceSlot` to be implemented via Mutex + Condvar 
# instead of spin loops.
std = ["dep:parking_lot"]
nightly = []


[dev-dependencies]
loom = "0.7"