[package]
name = "zkp-merkle-tree"
version = "0.1.0"
description = "Merkle tree based vector commitment"
repository = "https://github.com/0xProject/starkcrypto/tree/master/crypto/merkle-tree"
keywords = ["merkle-tree", "hash", "no-std"]
categories = ["cryptography", "algorithms", "no-std", "wasm"]
authors = [
"Remco Bloemen <remco@0x.org>",
"Mason Liang <mason@0x.org>",
"Paul Vienhage <paul@0x.org>"]
readme = "Readme.md"
license = "Apache-2.0"
edition = "2018"
[dependencies]
zkp-macros-decl = { version = "0.1.0", path = "../../utils/macros-decl", optional = true, default_features = false }
zkp-error-utils = { version = "0.1.0", path = "../../utils/error-utils", default_features = false }
zkp-mmap-vec = { version = "0.1.0", path = "../../utils/mmap-vec", default_features = false, optional = true }
zkp-hash = { version = "0.1.0", path = "../hash", default_features = false }
zkp-u256 = { version = "0.1.0", path = "../../algebra/u256", optional = true }
no-std-compat = { version = "0.1.0", features = [ "alloc" ] }
itertools = { version = "0.8.0", default_features = false }
crunchy = { version = "0.2.2", default_features = false }
hex = { version = "0.4.0", optional = true }
quickcheck = { version = "0.9", optional = true }
rayon = { version = "1.0.3", optional = true }
criterion = { version = "0.3.0", optional = true }
zkp-criterion-utils = { version = "0.1.0", path = "../../utils/criterion-utils", optional = true }
quickcheck_macros = {version = "0.8", optional = true }
lazy_static = { version = "1.3.0", optional = true }
[[bench]]
name = "benchmark"
harness = false
required-features = ["bench"]
[features]
default = ["std", "prover"]
std = [
"zkp-error-utils/std",
"zkp-mmap-vec/std",
"zkp-hash/std",
"no-std-compat/std",
"itertools/use_std",
"crunchy/std",
"rayon",
"hex",
]
bench = [
"test",
"criterion",
"zkp-criterion-utils",
"lazy_static",
]
test = [
"zkp-u256/test",
"zkp-macros-decl",
"std",
"quickcheck",
"quickcheck_macros",
]
prover = [
"std",
"zkp-mmap-vec",
]