[package]
edition = "2021"
rust-version = "1.73"
name = "zk-alloc"
version = "0.0.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bump+reset arena allocator for ZK proving workloads"
readme = "README.md"
keywords = [
"allocator",
"arena",
"zk",
"proving",
"memory",
]
categories = [
"memory-management",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/Barnadrot/zk-alloc"
[features]
default = ["rayon-flush"]
rayon-flush = ["rayon"]
[lib]
name = "zk_alloc"
path = "src/lib.rs"
[[test]]
name = "correctness"
path = "tests/correctness.rs"
[[test]]
name = "test_crossbeam_epoch"
path = "tests/test_crossbeam_epoch.rs"
[[test]]
name = "test_nested_phase"
path = "tests/test_nested_phase.rs"
[[test]]
name = "test_panic_phase"
path = "tests/test_panic_phase.rs"
[[test]]
name = "test_phase_guard"
path = "tests/test_phase_guard.rs"
[[test]]
name = "test_rayon"
path = "tests/test_rayon.rs"
[[test]]
name = "test_realloc_overlap"
path = "tests/test_realloc_overlap.rs"
[[test]]
name = "test_size_routing_stress"
path = "tests/test_size_routing_stress.rs"
[[bench]]
name = "alloc_throughput"
path = "benches/alloc_throughput.rs"
harness = false
[dependencies.rayon]
version = "1.10"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rayon]
version = "1"
[target.'cfg(not(all(target_os = "linux", target_arch = "x86_64")))'.dependencies.libc]
version = "0.2"