[package]
name = "zerokit_utils"
version = "0.5.2"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Various utilities for Zerokit"
documentation = "https://github.com/vacp2p/zerokit"
homepage = "https://vac.dev"
repository = "https://github.com/vacp2p/zerokit"

[lib]
bench = false

[dependencies]
ark-ff = { version = "0.5.0", default-features = false, features = [
    "parallel",
] }
num-bigint = { version = "0.4.6", default-features = false, features = [
    "rand",
] }
color-eyre = "0.6.3"
pmtree = { package = "vacp2p_pmtree", version = "2.0.2", optional = true }
sled = "0.34.7"
serde = "1.0"
lazy_static = "1.5.0"
hex = "0.4"



[dev-dependencies]
ark-bn254 = { version = "0.5.0", features = ["std"] }
num-traits = "0.2.19"
hex-literal = "1.0.0"
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
criterion = { version = "0.4.0", features = ["html_reports"] }
rand = "0.9.1"
rand_chacha = "0.9.0"
rand_core = "0.9.3"
# dev artifact for benching zk-kit lean-imt
light-poseidon = "0.3.0"
zk-kit-lean-imt = { git = "https://github.com/privacy-scaling-explorations/zk-kit.rust", package = "zk-kit-lean-imt" }
rln = { path = "../rln", default-features = false }
lazy_static = "1.5.0"

[features]
default = []
pmtree-ft = ["pmtree"]

[[bench]]
name = "merkle_tree_benchmark"
harness = false

[[bench]]
name = "poseidon_benchmark"
harness = false
[[bench]]
name = "imt_benchy"
harness = false
