This repository was archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
/
Copy pathCargo.toml
60 lines (55 loc) · 1.89 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "zkp-merkle-tree"
version = "0.2.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 <[email protected]>",
"Mason Liang <[email protected]>",
"Paul Vienhage <[email protected]>"]
readme = "Readme.md"
license = "Apache-2.0"
edition = "2018"
[dependencies]
crunchy = { version = "0.2.2", default_features = false }
hex = { version = "0.4.0", optional = true }
itertools = { version = "0.9.0", default_features = false }
log = { version = "0.4.8", default_features = false }
no-std-compat = { version = "0.4.0", features = [ "alloc" ] }
rayon = { version = "1.0.3", optional = true }
zkp-error-utils = { version = "0.2.0", path = "../../utils/error-utils", default_features = false }
zkp-hash = { version = "0.2.0", path = "../hash", default_features = false }
zkp-mmap-vec = { version = "0.2.0", path = "../../utils/mmap-vec", default_features = false, optional = true }
[dev-dependencies]
criterion = "0.3.0"
lazy_static = "1.3.0"
proptest = "0.9.5"
proptest-derive = "0.1.2"
zkp-criterion-utils = { version = "0.2.0", path = "../../utils/criterion-utils" }
zkp-macros-decl = { version = "0.2.0", path = "../../utils/macros-decl" }
zkp-u256 = { version = "0.2.0", path = "../../algebra/u256", features = ["proptest", "proptest-derive"] }
[[bench]]
name = "benchmark"
harness = false
[features]
default = ["std", "prover"] # Default to using the std
std = [
"crunchy/std",
"hex",
"itertools/use_std",
"log/std",
"no-std-compat/std",
"rayon",
"zkp-error-utils/std",
"zkp-hash/std",
"zkp-mmap-vec/std",
]
prover = [
"std",
"zkp-mmap-vec",
]
# Allow math in docs
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]