You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.1 KiB

  1. [package]
  2. name = "r1cs-std"
  3. version = "0.1.1-alpha.0"
  4. authors = [
  5. "Sean Bowe",
  6. "Alessandro Chiesa",
  7. "Matthew Green",
  8. "Ian Miers",
  9. "Pratyush Mishra",
  10. "Howard Wu"
  11. ]
  12. description = "A standard library for constraint system gadgets"
  13. homepage = "https://libzexe.org"
  14. repository = "https://github.com/scipr/zexe"
  15. documentation = "https://docs.rs/r1cs-std/"
  16. keywords = ["zero knowledge", "cryptography", "zkSNARK", "SNARK"]
  17. categories = ["cryptography"]
  18. include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
  19. license = "MIT/Apache-2.0"
  20. edition = "2018"
  21. ################################# Dependencies ################################
  22. [dependencies]
  23. algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false }
  24. r1cs-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
  25. derivative = { version = "2", features = ["use_core"] }
  26. tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
  27. [dev-dependencies]
  28. rand = { version = "0.7", default-features = false }
  29. rand_xorshift = { version = "0.2" }
  30. # Currently this means that all downstream users of `r1cs-std` will be using
  31. # `algebra` with the `bls12_381` feature. This is because of a cargo bug.
  32. algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "bls12_381" ] }
  33. [features]
  34. default = ["std"]
  35. full = [
  36. "bls12_377", "ed_on_bn254", "ed_on_bls12_381", "ed_on_bls12_377", "ed_on_cp6_782",
  37. "ed_on_bw6_761", "ed_on_mnt4_298", "ed_on_mnt4_753", "mnt4_298", "mnt4_753", "mnt6_298", "mnt6_753"
  38. ]
  39. bls12_377 = [ "algebra/bls12_377" ]
  40. ed_on_bn254 = [ "algebra/ed_on_bn254" ]
  41. ed_on_bls12_381 = [ "algebra/ed_on_bls12_381" ]
  42. ed_on_bls12_377 = [ "algebra/ed_on_bls12_377" ]
  43. ed_on_cp6_782 = [ "algebra/ed_on_cp6_782" ]
  44. ed_on_bw6_761 = [ "algebra/ed_on_bw6_761", "algebra/ed_on_cp6_782" ]
  45. ed_on_mnt4_298 = [ "algebra/ed_on_mnt4_298" ]
  46. ed_on_mnt4_753 = [ "algebra/ed_on_mnt4_753" ]
  47. mnt4_298 = [ "algebra/mnt4_298" ]
  48. mnt4_753 = [ "algebra/mnt4_753" ]
  49. mnt6_298 = [ "algebra/mnt6_298" ]
  50. mnt6_753 = [ "algebra/mnt6_753" ]
  51. std = [ "algebra/std", "r1cs-core/std" ]
  52. parallel = [ "std", "algebra/parallel" ]