ark-r1cs-std/crypto-primitives/Cargo.toml
crypto-primitives/Cargo.tomlRaw
1[package]
2name = "crypto-primitives"
3version = "0.1.0"
4authors = [
5 "Sean Bowe",
6 "Alessandro Chiesa",
7 "Matthew Green",
8 "Ian Miers",
9 "Pratyush Mishra",
10 "Howard Wu"
11]
12description = "A library of cryptographic primitives that are used by Zexe"
13homepage = "https://libzexe.org"
14repository = "https://github.com/scipr/zexe"
15documentation = "https://docs.rs/crypto-primitives/"
16keywords = ["r1cs", "groth16", "gm17", "pedersen", "blake2s"]
17categories = ["cryptography"]
18include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
19license = "MIT/Apache-2.0"
20edition = "2018"
21
22################################# Dependencies ################################
23
24[dependencies]
25algebra = { path = "../algebra" }
26r1cs-core = { path = "../r1cs-core", optional = true }
27r1cs-std = { path = "../r1cs-std", optional = true }
28gm17 = { path = "../gm17", optional = true }
29groth16 = { path = "../groth16", optional = true }
30bench-utils = { path = "../bench-utils" }
31
32digest = "0.7"
33blake2 = "0.7"
34
35num-traits = { version = "0.2.11" }
36rand = { version = "0.7" }
37derivative = "1"
38rayon = "1"
39
40[features]
41r1cs = [ "r1cs-core", "r1cs-std" ]
42
43[dev-dependencies]
44criterion = "0.2"
45rand_xorshift = { version = "0.2" }
46
47################################# Benchmarks ##################################
48
49[[bench]]
50name = "pedersen_crh"
51path = "benches/crypto_primitives/crh.rs"
52harness = false
53
54[[bench]]
55name = "pedersen_comm"
56path = "benches/crypto_primitives/comm.rs"
57harness = false
58
59[[bench]]
60name = "blake2s_prf"
61path = "benches/crypto_primitives/prf.rs"
62harness = false
63
64[[bench]]
65name = "schnorr_sig"
66path = "benches/crypto_primitives/signature.rs"
67harness = false