forked from arkworks-rs/marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
94 lines (82 loc) · 2.97 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "marlin"
version = "0.2.2"
authors = [
"Alessandro Chiesa <[email protected]>",
"Mary Maller <[email protected]>",
"Yuncong Hu <[email protected]>",
"Pratyush Mishra <[email protected]>",
"Noah Vesely <[email protected]>",
"Nicholas Ward <[email protected]>",
"Daniele Di Benedetto <[email protected]>",
"Maksym Vereshchak <[email protected]>",
"Ulrich Haboeck <[email protected]>",
"Luigi Varriale <[email protected]>",
"cronicc <[email protected]>"
]
description = "A library for the Marlin preprocessing zkSNARK"
repository = "https://github.com/scipr/marlin"
documentation = "https://docs.rs/marlin/"
keywords = ["cryptography", "polynomial commitments", "zkSNARK"]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2018"
[dependencies]
algebra = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0", features = ["parallel", "fft", "derive"] }
bench-utils = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0" }
r1cs-core = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0" }
r1cs-std = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0" }
poly-commit = { git = "https://github.com/HorizenLabs/poly-commit", tag = "0.2.2" }
rand = "=0.8.4"
rand_core = { version = "=0.6.3" }
rand_chacha = { version = "=0.3.1", default-features = false }
rayon = { version = "=1.5.1" }
digest = { version = "=0.8.1" }
derivative = { version = "=2.2.0", features = ["use_core"] }
[dev-dependencies]
algebra = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0", features = ["tweedle", "derive"]}
r1cs-std = { git = "https://github.com/HorizenOfficial/ginger-lib", tag = "0.4.0", features = ["tweedle"]}
blake2 = { version = "=0.8.1", default-features = false }
criterion = "=0.3.5"
rand_xorshift = "=0.3.0"
[features]
print-trace = [ "bench-utils/print-trace", "poly-commit/print-trace" ]
asm = [ "poly-commit/asm", "algebra/llvm_asm" ]
parallel = [ "algebra/parallel" ]
[[bench]]
name = "tweedle_test_circuits"
path = "benches/tweedle_test_circuits.rs"
harness = false
required-features = ["parallel", "asm"]
[profile.release]
opt-level = 3
lto = "thin"
incremental = true
debug-assertions = false
debug = false
[profile.bench]
opt-level = 3
rpath = false
lto = "thin"
incremental = true
debug-assertions = false
debug = false
[profile.dev]
opt-level = 0
[profile.test]
opt-level = 3
lto = "thin"
incremental = true
debug-assertions = true
debug = true
# Uncomment these lines for local development paths
#
#[patch.'https://github.com/HorizenOfficial/ginger-lib']
#algebra = { path = '../ginger-lib/algebra' }
#bench-utils = { path = '../ginger-lib/bench-utils' }
#r1cs-core = { path = '../ginger-lib/r1cs/core' }
#r1cs-std = { path = '../ginger-lib/r1cs/gadgets/std' }
#
#[patch.'https://github.com/HorizenLabs/poly-commit']
#poly-commit = { path = '../poly-commit' }