@@ -6,47 +6,72 @@ description = "An implementation of the Groth 2016 zkSNARK proof system"
66homepage = " https://arkworks.rs"
77repository = " https://github.com/arkworks-rs/groth16"
88documentation = " https://docs.rs/ark-groth16/"
9- keywords = [ " zero-knowledge" , " cryptography" , " zkSNARK" , " SNARK" , " Groth-Maller" ]
10- categories = [ " cryptography" ]
9+ keywords = [
10+ " zero-knowledge" ,
11+ " cryptography" ,
12+ " zkSNARK" ,
13+ " SNARK" ,
14+ " Groth-Maller" ,
15+ ]
16+ categories = [" cryptography" ]
1117include = [" Cargo.toml" , " src" , " README.md" , " LICENSE-APACHE" , " LICENSE-MIT" ]
1218license = " MIT/Apache-2.0"
1319edition = " 2021"
1420
1521# ################################ Dependencies ################################
1622
1723[dependencies ]
18- ark-ff = { version = " 0.5.0 " , default-features = false }
19- ark-ec = { version = " 0.5.0 " , default-features = false }
20- ark-serialize = { version = " 0.5.0 " , default-features = false , features = [ " derive" ] }
21- ark-poly = { version = " 0.5.0 " , default-features = false }
24+ ark-ff = { git = " https://github.com/arkworks-rs/algebra.git " , default-features = false }
25+ ark-ec = { git = " https://github.com/arkworks-rs/algebra.git " , default-features = false }
26+ ark-serialize = { git = " https://github.com/arkworks-rs/algebra.git " , default-features = false , features = [ " derive" ] }
27+ ark-poly = { git = " https://github.com/arkworks-rs/algebra.git " , default-features = false }
2228ark-std = { version = " 0.5.0" , default-features = false }
23- ark-relations = { version = " 0.5.0" , default-features = false }
24- ark-crypto-primitives = { version = " 0.5.0" , default-features = false , features = [" snark" , " sponge" ] }
25- ark-r1cs-std = { version = " 0.5.0" , default-features = false , optional = true }
2629
27- tracing = { version = " 0.1" , default-features = false , features = [ " attributes" ], optional = true }
28- derivative = { version = " 2.0" , features = [" use_core" ], optional = true }
30+ ark-relations = { git = " https://github.com/arkworks-rs/snark.git" , default-features = false }
31+ ark-snark = { git = " https://github.com/arkworks-rs/snark.git" , default-features = false }
32+
33+ ark-r1cs-std = { git = " https://github.com/arkworks-rs/r1cs-std.git" , default-features = false , optional = true }
34+ ark-crypto-primitives = { git = " https://github.com/arkworks-rs/crypto-primitives.git" , default-features = false , features = [ " snark" , " sponge" ] }
35+ tracing = { version = " 0.1" , default-features = false , features = [" attributes" ], optional = true }
36+ educe = { version = " 0.6.0" , default-features = false , features = [ " Clone" ], optional = true }
2937
3038rayon = { version = " 1" , optional = true }
3139
3240[dev-dependencies ]
33- csv = { version = " 1" }
34- ark-bls12-381 = { version = " 0.5.0" , default-features = false , features = [" curve" ] }
35- ark-bls12-377 = { version = " 0.5.0" , default-features = false , features = [" curve" ] }
36- ark-bw6-761 = { version = " 0.5.0" , default-features = false }
37- ark-mnt4-298 = { version = " 0.5.0" , default-features = false , features = [" r1cs" , " curve" ] }
38- ark-mnt6-298 = { version = " 0.5.0" , default-features = false , features = [" r1cs" ] }
39- ark-mnt4-753 = { version = " 0.5.0" , default-features = false , features = [" r1cs" , " curve" ] }
40- ark-mnt6-753 = { version = " 0.5.0" , default-features = false , features = [" r1cs" ] }
41- ark-r1cs-std = { version = " 0.5.0" , default-features = false }
42- ark-bn254 = { version = " 0.5.0" , default-features = false , features = [" curve" ] }
41+ ark-bls12-381 = { git = " https://github.com/arkworks-rs/algebra.git" , default-features = false , features = [ " curve" ] }
42+ ark-bls12-377 = { git = " https://github.com/arkworks-rs/algebra.git" , default-features = false , features = [ " curve" ] }
43+ ark-bn254 = { git = " https://github.com/arkworks-rs/algebra.git" , default-features = false , features = [ " curve" ] }
44+ ark-bw6-761 = { git = " https://github.com/arkworks-rs/algebra.git" , default-features = false }
45+ ark-mnt4-298 = { git = " https://github.com/arkworks-rs/algebra.git" , default-features = false , features = [ " curve" , " r1cs" ] }
46+ ark-r1cs-std = { git = " https://github.com/arkworks-rs/r1cs-std.git" , default-features = true }
47+
4348
4449[features ]
4550default = [" parallel" ]
46- std = [" ark-ff/std" , " ark-ec/std" , " ark-poly/std" , " ark-relations/std" , " ark-crypto-primitives/std" , " ark-std/std" ]
47- parallel = [" std" , " ark-ff/parallel" , " ark-poly/parallel" , " ark-ec/parallel" , " ark-crypto-primitives/parallel" , " ark-std/parallel" , " rayon" ]
48- r1cs = [ " ark-crypto-primitives/r1cs" , " ark-r1cs-std" , " tracing" , " derivative" ]
49- print-trace = [ " ark-std/print-trace" ]
51+ std = [
52+ " ark-ff/std" ,
53+ " ark-ec/std" ,
54+ " ark-poly/std" ,
55+ " ark-relations/std" ,
56+ " ark-crypto-primitives/std" ,
57+ " ark-std/std" ,
58+ ]
59+ parallel = [
60+ " std" ,
61+ " ark-ff/parallel" ,
62+ " ark-poly/parallel" ,
63+ " ark-ec/parallel" ,
64+ " ark-crypto-primitives/parallel" ,
65+ " ark-std/parallel" ,
66+ " rayon" ,
67+ ]
68+ r1cs = [
69+ " ark-crypto-primitives/constraints" ,
70+ " ark-r1cs-std" ,
71+ " tracing" ,
72+ " educe" ,
73+ ]
74+ print-trace = [" ark-std/print-trace" ]
5075
5176[[bench ]]
5277name = " groth16-benches"
@@ -74,27 +99,19 @@ panic = 'abort'
7499
75100[profile .test ]
76101opt-level = 3
77- lto = " thin"
78102incremental = true
79103debug-assertions = true
80104debug = true
81105
82-
83- # [patch.crates-io]
84- # ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
85- # ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
86- # ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
87- # ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
88- # ark-bls12-381 = { git = "https://github.com/arkworks-rs/algebra/" }
89- # ark-mnt4-298 = { git = "https://github.com/arkworks-rs/algebra/" }
90- # ark-mnt6-298 = { git = "https://github.com/arkworks-rs/algebra/" }
91- # ark-mnt4-753 = { git = "https://github.com/arkworks-rs/algebra/" }
92- # ark-mnt6-753 = { git = "https://github.com/arkworks-rs/algebra/" }
93- # ark-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" }
94- # ark-bw6-761 = { git = "https://github.com/arkworks-rs/algebra/" }
95-
96- # ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/" }
97- # ark-crypto-primitives = { git = "https://github.com/arkworks-rs/crypto-primitives/" }
98-
99- # ark-relations = { git = "https://github.com/arkworks-rs/snark/" }
100- # ark-snark = { git = "https://github.com/arkworks-rs/snark/" }
106+ [patch .crates-io ]
107+ ark-relations = { git = " https://github.com/arkworks-rs/snark.git" }
108+ ark-ff = { git = " https://github.com/arkworks-rs/algebra.git" }
109+ ark-ec = { git = " https://github.com/arkworks-rs/algebra.git" }
110+ ark-poly = { git = " https://github.com/arkworks-rs/algebra.git" }
111+ ark-serialize = { git = " https://github.com/arkworks-rs/algebra.git" }
112+ ark-bls12-381 = { git = " https://github.com/arkworks-rs/algebra.git" }
113+ ark-bls12-377 = { git = " https://github.com/arkworks-rs/algebra.git" }
114+ ark-bn254 = { git = " https://github.com/arkworks-rs/algebra.git" }
115+ ark-bw6-761 = { git = " https://github.com/arkworks-rs/algebra.git" }
116+ ark-mnt4-298 = { git = " https://github.com/arkworks-rs/algebra.git" }
117+ ark-r1cs-std = { git = " https://github.com/arkworks-rs/r1cs-std.git" }
0 commit comments