-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
76 lines (72 loc) · 2.56 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
[package]
name = "ark-ec-vrfs"
version = "0.1.1"
edition = "2021"
authors = [ "Davide Galassi <[email protected]>" ]
license = "MIT"
description = "Elliptic curve VRF with additional data"
keywords = [ "cryptography", "vrf", "ring-vrf", "zk-snark" ]
repository = "https://github.com/davxy/ark-ec-vrfs"
[dependencies]
ark-ec = { version = "0.5", default-features = false }
ark-ff = { version = "0.5", default-features = false }
ark-std = { version = "0.5", default-features = false }
ark-serialize = { version = "0.5", default-features = false }
zeroize = { version = "1.8", default-features = false }
digest = { version = "0.10", default-features = false }
sha2 = { version = "0.10", default-features = false }
rand_chacha = { version = "0.3", default-features = false }
rayon = { version = "1.10", default-features = false, optional = true }
hmac = {version = "0.12", default-features = false, optional = true }
ring-proof = { package = "w3f-ring-proof", version = "0.0.2", default-features = false, optional = true }
# Curves
ark-secp256r1 = { version = "0.5", default-features = false, optional = true }
ark-ed25519 = { version = "0.5", default-features = false, optional = true }
ark-ed-on-bls12-381 = { version = "0.5", default-features = false, optional = true }
ark-ed-on-bls12-381-bandersnatch = { version = "0.5", default-features = false, optional = true }
ark-bls12-381 = { version = "0.5", default-features = false, optional = true }
ark-ed-on-bn254 = { version = "0.5", default-features = false, optional = true }
ark-bn254 = { version = "0.5", default-features = false, optional = true }
[dev-dependencies]
ark-ed25519 = "0.5"
hex = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
indexmap = { version = "2.2.6", features = ["serde"] }
[features]
default = [ "std" ]
std = [
"ark-std/std",
"ark-ec/std",
"ring-proof?/std",
]
full = [
"secp256r1",
"ed25519",
"bandersnatch",
"jubjub",
"baby-jubjub",
"ring",
]
# Curves
ed25519 = [ "ark-ed25519" ]
jubjub = [ "ark-ed-on-bls12-381", "ark-bls12-381/curve" ]
bandersnatch = [ "ark-ed-on-bls12-381-bandersnatch", "ark-bls12-381/curve" ]
baby-jubjub = [ "ark-ed-on-bn254", "ark-bn254/curve" ]
secp256r1 = [ "ark-secp256r1", "rfc-6979" ]
# Miscellanea
ring = [ "ring-proof" ]
rfc-6979 = [ "hmac" ]
# Optimizations
parallel = [
"ark-ec/parallel",
"ark-ff/parallel",
"ark-std/parallel",
"ring-proof?/parallel",
"rayon",
]
asm = [ "ark-ff/asm", "ring-proof?/asm" ]
# Deterministic, no-zk, ring-proof (unsafe)
test-vectors = [ "ring-proof?/test-vectors" ]
[package.metadata.docs.rs]
features = [ "full" ]