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.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 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 = { git = "https://github.com/scipr-lab/zexe", default-features = false }
26r1cs-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
27derivative = { version = "2", features = ["use_core"] }
28tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
29
30[dev-dependencies]
31rand = { version = "0.7", default-features = false }
32rand_xorshift = { version = "0.2" }
33# Currently this means that all downstream users of `r1cs-std` will be using
34# `algebra` with the `bls12_381` feature. This is because of a cargo bug.
35algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "bls12_381" ] }
36
37[features]
38default = ["std"]
39full = [ 
40  "bls12_377", "ed_on_bn254", "ed_on_bls12_381", "ed_on_bls12_377", "ed_on_cp6_782", 
41  "ed_on_bw6_761", "ed_on_mnt4_298", "ed_on_mnt4_753", "mnt4_298", "mnt4_753", "mnt6_298", "mnt6_753" 
42]
43
44bls12_377 = [ "algebra/bls12_377" ]
45ed_on_bn254 = [ "algebra/ed_on_bn254" ]
46ed_on_bls12_381 = [ "algebra/ed_on_bls12_381" ]
47ed_on_bls12_377 = [ "algebra/ed_on_bls12_377" ]
48ed_on_cp6_782 = [ "algebra/ed_on_cp6_782" ]
49ed_on_bw6_761 = [ "algebra/ed_on_bw6_761", "algebra/ed_on_cp6_782" ]
50ed_on_mnt4_298 = [ "algebra/ed_on_mnt4_298" ]
51ed_on_mnt4_753 = [ "algebra/ed_on_mnt4_753" ]
52mnt4_298 = [ "algebra/mnt4_298" ]
53mnt4_753 = [ "algebra/mnt4_753" ]
54mnt6_298 = [ "algebra/mnt6_298" ]
55mnt6_753 = [ "algebra/mnt6_753" ]
56
57std = [ "algebra/std", "r1cs-core/std" ]
58parallel = [ "std", "algebra/parallel" ]