forked from availproject/plonk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (63 loc) · 1.76 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
61
62
63
64
65
66
67
68
69
[package]
name = "dusk-plonk"
version = "0.10.0"
categories =["algorithms", "cryptography", "science", "mathematics"]
edition = "2021"
keywords = ["cryptography", "plonk", "zk-snarks", "zero-knowledge", "crypto"]
license = "MPL-2.0"
repository = "https://github.com/dusk-network/plonk"
description = "A pure-Rust implementation of the PLONK ZK-Proof algorithm"
exclude = [
"**/.gitignore",
".gitignore",
"Cargo.lock",
"**/examples",
"benchmarks/",
".github/"
]
[dependencies]
merlin = {version = "3.0", default-features = false}
rand_core = {version="0.6", default-features=false}
dusk-bytes = "0.1"
dusk-bls12_381 = {version = "0.9", default-features = false, features = ["groups", "pairings", "endo"]}
dusk-jubjub = {version = "0.11", default-features = false}
itertools = {version = "0.9", default-features = false}
hashbrown = {version = "0.9", default-features=false, features = ["ahash"]}
rayon = {version = "1.3", optional = true}
cfg-if = "1.0"
# Dusk related deps for WASMI serde
canonical = {version = "0.7", optional = true}
canonical_derive = {version = "0.7", optional = true}
[dev-dependencies]
criterion = "0.3"
tempdir = "0.3"
[[bench]]
name = "plonk"
harness = false
[features]
default = ["std"]
std = [
"rand_core/std",
"dusk-bls12_381/default", # Includes `parallel`
"dusk-jubjub/default",
"itertools/default",
"hashbrown/default",
"alloc",
"rayon"
]
alloc = ["dusk-bls12_381/alloc"]
trace = []
trace-print = ["trace"]
canon = ["dusk-bls12_381/canon", "dusk-jubjub/canon", "canonical", "canonical_derive"]
[profile.release]
panic = "abort"
codegen-units = 1
overflow-checks = false
[profile.bench]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
incremental = false
codegen-units = 1