[package] name = "r1cs-std" version = "0.1.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 = { path = "../algebra", default-features = false } r1cs-core = { path = "../r1cs-core", default-features = false } derivative = { version = "2", features = ["use_core"] } [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. algebra = { path = "../algebra", default-features = false, features = [ "bls12_381" ] } [features] default = ["std"] full = [ "bls12_377", "jubjub", "edwards_bls12", "edwards_sw6", ] bls12_377 = [ "algebra/bls12_377" ] jubjub = [ "algebra/jubjub" ] edwards_bls12 = [ "algebra/edwards_bls12" ] edwards_sw6 = [ "algebra/edwards_sw6" ] std = [ "algebra/std" ] parallel = [ "std", "algebra/parallel" ]