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.1-alpha.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 = { git = "https://github.com/scipr-lab/zexe", default-features = false }
26bench-utils = { git = "https://github.com/scipr-lab/zexe" }
27
28blake2 = { version = "0.8", default-features = false }
29digest = "0.8"
30
31ff-fft = { git = "https://github.com/scipr-lab/zexe", default-features = false }
32gm17 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
33groth16 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
34
35r1cs-core = { git = "https://github.com/scipr-lab/zexe", 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"] }
41tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
42
43[features]
44default = ["std", "r1cs"]
45r1cs = ["r1cs-core", "r1cs-std"]
46std = [ "algebra-core/std", "r1cs-core/std", "r1cs-std/std"]
47parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
48
49[dev-dependencies]
50algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
51r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
52rand_xorshift = { version = "0.2" }