-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
93 lines (80 loc) · 2.38 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
[package]
name = "anemoi"
version = "0.1.0"
authors = ["Robin Salen <salenrobin@gmail.com>"]
edition = "2021"
description = "New Design Techniques for Efficient Arithmetization-Oriented Hash Functions:Anemoi Permutations and Jive Compression Mode"
readme = "README.md"
license = "MIT"
repository = "https://github.com/anemoi-hash/anemoi-rust"
homepage = "https://github.com/anemoi-hash/anemoi-rust"
keywords = ["cryptography", "hash", "hash-function", "anemoi", "sponge", "compression", "zero-knowledge"]
categories = ["cryptography"]
[dependencies]
ark-ff = { version="^0.4.0", default-features = false }
ark-bls12-377 = { version="^0.4.0", default-features = false, optional = true }
ark-bls12-381 = { version="^0.4.0", default-features = false, optional = true }
ark-bn254 = { version="^0.4.0", default-features = false, optional = true }
ark-ec = { version="^0.4.0", default-features = false }
ark-pallas = { version="^0.4.0", default-features = false, optional = true }
ark-serialize = { version="^0.4.0", default-features = false }
ark-std = { version="^0.4.0", default-features = false }
getrandom = { version = "0.2", default-features = false, features = ["js"] }
rand_core = { version = "0.6.2", default-features = false, features = ["getrandom"] }
unroll = { version = "0.1.5" }
[dev-dependencies]
ark-algebra-test-templates = { version="^0.4.0" }
criterion = "0.3"
[features]
default = [
"std",
"bls12_377",
"bls12_381",
"bn_254",
"ed_on_bls12_377",
"jubjub",
"pallas",
"vesta",
]
std = [
"ark-std/std",
"ark-ff/std",
"ark-ec/std",
"rand_core/std"
]
bls12_377 = ["ark-bls12-377/curve"]
bls12_381 = ["ark-bls12-381/curve"]
bn_254 = ["ark-bn254/curve"]
ed_on_bls12_377 = ["ark-bls12-377/scalar_field"]
jubjub = ["ark-bls12-381/scalar_field"]
pallas = ["ark-pallas/curve"]
vesta = ["ark-pallas/scalar_field"]
asm = ["ark-ff/asm"]
[[bench]]
name = "bls12_377"
harness = false
required-features = ["bls12_377"]
[[bench]]
name = "bls12_381"
harness = false
required-features = ["bls12_381"]
[[bench]]
name = "bn_254"
harness = false
required-features = ["bn_254"]
[[bench]]
name = "ed_on_bls12_377"
harness = false
required-features = ["ed_on_bls12_377"]
[[bench]]
name = "jubjub"
harness = false
required-features = ["jubjub"]
[[bench]]
name = "pallas"
harness = false
required-features = ["pallas"]
[[bench]]
name = "vesta"
harness = false
required-features = ["vesta"]