arnaucube
arnaucube/ark-r1cs-stdPublic Self-hosted repository
ark-r1cs-std/r1cs-std/Cargo.toml
r1cs-std/Cargo.tomlRaw
 1[package]
 2name = "r1cs-std"
 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 standard library for constraint system gadgets"
13homepage = "https://libzexe.org"
14repository = "https://github.com/scipr/zexe"
15documentation = "https://docs.rs/r1cs-std/"
16keywords = ["zero knowledge", "cryptography", "zkSNARK", "SNARK"]
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 }
26r1cs-core = { path = "../r1cs-core", default-features = false }
27derivative = { version = "1", features = ["use_core"] }
28
29[dev-dependencies]
30rand = { version = "0.7", default-features = false }
31rand_xorshift = { version = "0.2" }
32# Currently this means that all downstream users of `r1cs-std` will be using
33# `algebra` with the `bls12_381` feature.
34algebra = { path = "../algebra", default-features = false, features = [ "bls12_381" ] }
35
36[features]
37default = ["std"]
38full = [ "bls12_377", "jubjub", "edwards_bls12", "edwards_sw6", ]
39
40bls12_377 = [ "algebra/bls12_377" ]
41jubjub = [ "algebra/jubjub" ]
42edwards_bls12 = [ "algebra/edwards_bls12" ]
43edwards_sw6 = [ "algebra/edwards_sw6" ]
44
45std = [ "algebra/std" ]
46parallel = [ "std", "algebra/parallel" ]