-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
64 lines (58 loc) · 1.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
[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"]
resolver = "2"
[workspace.package]
edition = "2021"
authors = ["Dock.io"]
license = "Apache-2.0"
repository = "https://github.com/docknetwork/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" }
digest = { version = "0.10", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_with = { version = "1.10.0", default-features = false, features = ["macros"] }
zeroize = { version = "1.7.0", features = ["derive"] }
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 = "0.12.1"
sha3 = { version = "0.10.6", default-features = false }
[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