forked from arkworks-rs/nimue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
78 lines (68 loc) · 2.22 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
[package]
name = "nimue"
version = "0.0.1"
authors = ["Michele Orrù <[email protected]>"]
description = "A library for Fiat-Shamir transcripts."
edition = "2021"
license = "MIT/Apache-2.0"
resolver = "2"
[patch.crates-io]
ark-std = {git = "https://github.com/arkworks-rs/utils"}
ark-ec = {git = "https://github.com/arkworks-rs/algebra"}
ark-ff = {git = "https://github.com/arkworks-rs/algebra"}
ark-serialize = {git = "https://github.com/arkworks-rs/algebra"}
ark-bls12-381 = {git = "https://github.com/arkworks-rs/algebra"}
ark-curve25519 = {git = "https://github.com/arkworks-rs/algebra"}
ark-pallas = {git = "https://github.com/arkworks-rs/algebra"}
ark-vesta = {git = "https://github.com/arkworks-rs/algebra"}
[dependencies]
zeroize = {version="1.6.0", features=["zeroize_derive"]}
rand = {version="0.8.5", features=["getrandom"]}
digest = "0.10.7"
generic-array = "0.14.7"
# used as default hasher for the prover
keccak = "0.1.4"
log = "0.4.20"
# optional dependencies
ark-ff = {version="0.4.0", optional=true}
ark-ec = {version="0.4.0", optional=true}
ark-serialize = {version="0.4.2", optional=true, features=["std"]}
# anemoi = {git = "https://github.com/anemoi-hash/anemoi-rust", optional=true}
group = {version="0.13.0", optional=true}
ark-bls12-381 = {version="0.4.0", optional=true}
[features]
default = []
ark = ["dep:ark-ff", "dep:ark-ec", "dep:ark-serialize"]
group = ["dep:group"]
# anemoi = ["dep:anemoi"]
ark-bls12-381 = ["ark", "dep:ark-bls12-381"]
[dev-dependencies]
ark-std = "0.4.0"
sha2 = "0.10.7"
blake2 = "0.10.6"
hex = "0.4.3"
# test curve25519 compatibility
curve25519-dalek = {version="4.0.0", features=["group"]}
ark-curve25519 = "0.4.0"
# test algebraic hashers
bls12_381 = "0.8.0"
anyhow = { version = "1.0.75", features = ["backtrace"] }
ark-pallas = { version = "0.4.0", features = ["std"] }
pallas = "0.22.0"
pasta_curves = "0.5.1"
ark-vesta = { version = "0.4.0", features = ["std"] }
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header", "doc/katex-header.html",
"--cfg", "docsrs",
]
features = ["ark", "group"]
[[example]]
name = "schnorr"
required-features = ["ark"]
[[example]]
name = "schnorr_algebraic_hash"
required-features = ["ark"]
[[example]]
name = "bulletproof"
required-features = ["ark"]