arnaucube
arnaucube/ark-r1cs-stdPublic Self-hosted repository
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", default-features = false }
26bench-utils = { path = "../bench-utils" }
27blake2 = { version = "0.7", default-features = false }
28derivative = { version = "1.0", features = ["use_core"] }
29digest = "0.7"
30ff-fft = { path = "../ff-fft", default-features = false }
31gm17 = { path = "../gm17", optional = true, default-features = false }
32groth16 = { path = "../groth16", optional = true, default-features = false }
33r1cs-core = { path = "../r1cs-core", optional = true, default-features = false }
34r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
35rand = { version = "0.7", default-features = false }
36rayon = { version = "1.0", optional = true }
37
38[features]
39default = ["parallel"]
40r1cs = ["r1cs-core", "r1cs-std"]
41std = ["r1cs", "algebra/std", "r1cs-core/std", "r1cs-std/std", "gm17/std", "groth16/std", "ff-fft/std"]
42parallel = ["std", "rayon"]
43
44[dev-dependencies]
45rand_xorshift = { version = "0.2" }