arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository
ark-curves-cherry-picked/Cargo.toml
Cargo.tomlRaw
 1[workspace]
 2
 3members = [
 4    "curve-constraint-tests",
 5
 6    "bls12_377",
 7    "ed_on_bls12_377",
 8
 9    "bw6_761",
10    "ed_on_bw6_761",
11
12    "cp6_782",
13    "ed_on_cp6_782",
14
15    "bls12_381",
16    "ed_on_bls12_381",
17    "ed_on_bls12_381_bandersnatch",
18
19    "bn254",
20    "ed_on_bn254",
21    "grumpkin",
22
23    "mnt4_298",
24    "mnt6_298",
25    "ed_on_mnt4_298",
26
27    "mnt4_753",
28    "mnt6_753",
29    "ed_on_mnt4_753",
30
31    "pallas",
32    "vesta",
33
34    "secp256k1",
35    "secq256k1",
36    
37    "curve25519",
38    "ed25519",
39]
40resolver = "2"
41
42[profile.release]
43opt-level = 3
44lto = "thin"
45incremental = true
46panic = 'abort'
47
48[profile.bench]
49opt-level = 3
50debug = false
51rpath = false
52lto = "thin"
53incremental = true
54debug-assertions = false
55
56[profile.dev]
57opt-level = 0
58panic = 'abort'
59
60[profile.test]
61opt-level = 3
62lto = "thin"
63incremental = true
64debug-assertions = true
65debug = true
66
67# The following patch is to use a version of ark-r1cs-std compatible with
68# v0.4.0 but that includes a cherry-picked commit from after v0.4.0 which fixes
69# the in-circuit scalar multiplication of the zero point. The commit is from
70# https://github.com/arkworks-rs/r1cs-std/pull/124, without including other
71# changes done between v0.4.0 and this fix which would break compatibility.
72[patch.crates-io]
73ark-r1cs-std = { git = "https://github.com/arnaucube/ark-r1cs-std-cherry-picked/" }