|
[package]
|
|
name = "r1cs-std"
|
|
version = "0.1.1-alpha.0"
|
|
authors = [
|
|
"Sean Bowe",
|
|
"Alessandro Chiesa",
|
|
"Matthew Green",
|
|
"Ian Miers",
|
|
"Pratyush Mishra",
|
|
"Howard Wu"
|
|
]
|
|
description = "A standard library for constraint system gadgets"
|
|
homepage = "https://libzexe.org"
|
|
repository = "https://github.com/scipr/zexe"
|
|
documentation = "https://docs.rs/r1cs-std/"
|
|
keywords = ["zero knowledge", "cryptography", "zkSNARK", "SNARK"]
|
|
categories = ["cryptography"]
|
|
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2018"
|
|
|
|
################################# Dependencies ################################
|
|
|
|
[dependencies]
|
|
algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
|
r1cs-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
|
derivative = { version = "2", features = ["use_core"] }
|
|
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
|
|
|
|
[dev-dependencies]
|
|
rand = { version = "0.7", default-features = false }
|
|
rand_xorshift = { version = "0.2" }
|
|
# Currently this means that all downstream users of `r1cs-std` will be using
|
|
# `algebra` with the `bls12_381` feature. This is because of a cargo bug.
|
|
algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "bls12_381" ] }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
full = [
|
|
"bls12_377", "ed_on_bn254", "ed_on_bls12_381", "ed_on_bls12_377", "ed_on_cp6_782",
|
|
"ed_on_bw6_761", "ed_on_mnt4_298", "ed_on_mnt4_753", "mnt4_298", "mnt4_753", "mnt6_298", "mnt6_753"
|
|
]
|
|
|
|
bls12_377 = [ "algebra/bls12_377" ]
|
|
ed_on_bn254 = [ "algebra/ed_on_bn254" ]
|
|
ed_on_bls12_381 = [ "algebra/ed_on_bls12_381" ]
|
|
ed_on_bls12_377 = [ "algebra/ed_on_bls12_377" ]
|
|
ed_on_cp6_782 = [ "algebra/ed_on_cp6_782" ]
|
|
ed_on_bw6_761 = [ "algebra/ed_on_bw6_761", "algebra/ed_on_cp6_782" ]
|
|
ed_on_mnt4_298 = [ "algebra/ed_on_mnt4_298" ]
|
|
ed_on_mnt4_753 = [ "algebra/ed_on_mnt4_753" ]
|
|
mnt4_298 = [ "algebra/mnt4_298" ]
|
|
mnt4_753 = [ "algebra/mnt4_753" ]
|
|
mnt6_298 = [ "algebra/mnt6_298" ]
|
|
mnt6_753 = [ "algebra/mnt6_753" ]
|
|
|
|
std = [ "algebra/std", "r1cs-core/std" ]
|
|
parallel = [ "std", "algebra/parallel" ]
|