[package]
edition = "2021"
rust-version = "1.88"
name = "size-classes"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Const-built mimalloc-style size-class tables with an O(1) size->class lookup and an alignment-aware classifier. no_std, zero deps, #![forbid(unsafe_code)]."
homepage = "https://github.com/PHPCraftdream/sefer-alloc/tree/main/crates/size-classes"
documentation = "https://docs.rs/size-classes"
readme = "README.md"
keywords = [
"allocator",
"size-class",
"slab",
"alignment",
"no-std",
]
categories = [
"memory-management",
"data-structures",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PHPCraftdream/sefer-alloc"
[lib]
name = "size_classes"
path = "src/lib.rs"
[[test]]
name = "builder"
path = "tests/builder.rs"
[[test]]
name = "proptest_builder"
path = "tests/proptest_builder.rs"
[[bench]]
name = "size_classes_bench"
path = "benches/size_classes_bench.rs"
harness = false
[dependencies]
[dev-dependencies.bench-scale-tool]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(kani)",
"cfg(aligned_vmem_page_size_override)",
"cfg(numa_shim_mock)",
]