forked from dusk-network/plonk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (60 loc) · 1.79 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
[package]
name = "zkplonk"
version = "0.0.1"
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]
rand_core = {version="0.6", 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}
# Dusk related deps for WASMI serde
codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = '2.0.0' }
sp-std = { version = '3.0.0', default-features = false }
zkstd = {path = "../zkstd", default-features = false}
zksnarks = {path = "../zksnarks", default-features = false}
poly-commit = {path = "../poly", default-features = false}
jub-jub = {path = "../jubjub", default-features = false}
ec-pairing = {path = "../pairing", default-features = false}
bls-12-381 = {path = "../bls12_381", default-features = false}
[dev-dependencies]
criterion = "0.3"
tempdir = "0.3"
rand = "0.8"
[features]
default = ["std"]
std = [
"poly-commit/std",
"itertools/default",
"hashbrown/default",
"alloc",
"rayon"
]
alloc = []
[profile.release]
panic = "abort"
codegen-units = 1
overflow-checks = false
debug = true
[profile.bench]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
incremental = false
codegen-units = 1
[package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "./docs/katex-header.html" ]