[package]
edition = "2024"
rust-version = "1.85"
name = "arena-lib"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed memory arena and slab allocator library. Generational indices, typed arenas (one allocation per type), interned strings, and bump allocation. Zero unsafe leakage into user code."
homepage = "https://github.com/jamesgober/arena-lib"
documentation = "https://docs.rs/arena-lib"
readme = "README.md"
keywords = [
"arena",
"allocator",
"slab",
"generational",
"rust",
]
categories = [
"memory-management",
"data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/arena-lib"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = []
[lib]
name = "arena_lib"
path = "src/lib.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies]
[dev-dependencies]
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"