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-core = { path = "../algebra-core", default-features = false }
26bench-utils = { path = "../bench-utils" }
27
28blake2 = { version = "0.8", default-features = false }
29digest = "0.8"
30
31ff-fft = { path = "../ff-fft", default-features = false }
32gm17 = { path = "../gm17", optional = true, default-features = false }
33groth16 = { path = "../groth16", optional = true, default-features = false }
34
35r1cs-core = { path = "../r1cs-core", optional = true, default-features = false }
36r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
37
38rand = { version = "0.7", default-features = false }
39rayon = { version = "1.0", optional = true }
40derivative = { version = "2.0", features = ["use_core"] }
41
42[features]
43default = ["std"]
44r1cs = ["r1cs-core", "r1cs-std"]
45std = ["r1cs", "algebra-core/std", "r1cs-core/std", "r1cs-std/std"]
46parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
47
48[dev-dependencies]
49algebra = { path = "../algebra", default-features = false, features = [ "edwards_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
50r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "edwards_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
51rand_xorshift = { version = "0.2" }