[package]
name = "zk-alloc"
version = "0.0.9"
edition = "2021"
rust-version = "1.73"
description = "Bump+reset arena allocator for ZK proving workloads"
license = "Apache-2.0"
repository = "https://github.com/Barnadrot/zk-alloc"
readme = "README.md"
keywords = ["allocator", "arena", "zk", "proving", "memory"]
categories = ["memory-management", "no-std"]
[features]
default = ["rayon-flush"]
rayon-flush = ["rayon"]
[dependencies]
rayon = { version = "1.10", optional = true }
[target.'cfg(not(all(target_os = "linux", target_arch = "x86_64")))'.dependencies]
libc = "0.2"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
rayon = "1"
[[bench]]
name = "alloc_throughput"
harness = false