[package]
edition = "2021"
rust-version = "1.70"
name = "zk-nalloc"
version = "0.2.2"
authors = ["nzengi <howyaniii@gmail.com>"]
build = false
exclude = [
".github/",
"benches/",
"tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, deterministic memory allocator optimized for Zero-Knowledge Proof (ZKP) systems and cryptographic provers."
homepage = "https://github.com/zk-nalloc/nalloc"
documentation = "https://docs.rs/zk-nalloc"
readme = "README.md"
keywords = [
"cryptography",
"zkp",
"allocator",
"performance",
"memory",
]
categories = [
"memory-management",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zk-nalloc/nalloc"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-apple-darwin",
]
[features]
default = ["fallback"]
fallback = []
guard-pages = []
huge-pages = []
mlock = []
[lib]
name = "zk_nalloc"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2"
[dependencies.rustix]
version = "0.38"
features = ["mm"]
[dev-dependencies.criterion]
version = "0.5"
[target.'cfg(target_vendor = "apple")'.dependencies.mach2]
version = "0.4"