forked from docknetwork/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (77 loc) · 3.36 KB
/
Copy pathCargo.toml
File metadata and controls
85 lines (77 loc) · 3.36 KB
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
[workspace]
members = [
"utils",
"schnorr_pok",
"bbs_plus",
"vb_accumulator",
"proof_system",
"coconut",
"saver",
"compressed_sigma",
"benches",
"test_utils",
"delegatable_credentials",
"secret_sharing_and_dkg",
"legogroth16",
"oblivious_transfer",
"kvac",
"merlin",
"bulletproofs_plus_plus",
"smc_range_proof",
"short_group_sig",
"syra",
"verifiable_encryption",
"equality_across_groups"
]
resolver = "2"
[workspace.package]
edition = "2021"
authors = ["Dock.io"]
license = "Apache-2.0"
repository = "https://github.com/docknetwork/crypto"
keywords = ["crypto"]
[workspace.dependencies]
ark-ff = { version = "^0.4.1", default-features = false }
ark-ec = { version = "^0.4.1", default-features = false }
ark-std = { version = "^0.4.0", default-features = false }
ark-poly = { version = "^0.4.1", default-features = false }
ark-serialize = { version = "^0.4.1", default-features = false, features = [ "derive" ] }
ark-relations = { version = "^0.4.0", default-features = false }
ark-r1cs-std = { version = "^0.4.0", default-features = false }
ark-groth16 = { version = "^0.4.0", default-features = false }
rayon = { version = "1", default-features = false }
digest = { version = "0.10", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_with = { version = "3.14.0", default-features = false, features = ["macros", "alloc"] }
cfg_eval = { version = "0.1.2", default-features = false }
zeroize = { version = "1.7.0", default-features = false, features = ["derive", "alloc"] }
blake2 = { version = "0.10", default-features = false }
ark-bls12-381 = { version = "^0.4.0", default-features = false, features = [ "curve" ] }
ark-secp256r1 = { version = "^0.4.0", default-features = false }
itertools = { version = "0.14.0", default-features = false }
sha3 = { version = "0.10.6", default-features = false }
[patch.crates-io]
#ark-ff = { path = "../arkworks-algebra/ff" }
#ark-ec = { path = "../arkworks-algebra/ec" }
#ark-poly = { path = "../arkworks-algebra/poly" }
#ark-serialize = { path = "../arkworks-algebra/serialize" }
#ark-bls12-381 = { path = "../arkworks-algebra/curves/bls12_381" }
#ark-secp256r1 = { path = "../arkworks-algebra/curves/secp256r1" }
#ark-pallas = { path = "../arkworks-algebra/curves/pallas" }
ark-ff = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-ec = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-poly = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-serialize = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-bls12-381 = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-secp256r1 = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
ark-pallas = { git = "https://github.com/PolymeshAssociation/arkworks-algebra.git", branch = "polymesh-master" }
[profile.release]
lto = true
[profile.bench]
lto = true
[profile.production]
inherits = "release"
# https://doc.rust-lang.org/rustc/linker-plugin-lto.html
lto = "fat"
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
codegen-units = 1