static-generics 0.1.3

Zero-cost generic statics for Rust.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

[features]
default = ["std"]
nightly = []
std = ["dep:parking_lot"]

[lib]
name = "static_generics"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "once"
path = "examples/once.rs"

[dependencies.bytemuck]
version = "1.25.2"
features = [
    "zeroable_atomics",
    "zeroable_maybe_uninit",
]

[dependencies.cfg-if]
version = "1"

[dependencies.parking_lot]
version = "0.12.5"
optional = true

[dev-dependencies.loom]
version = "0.7"