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.

52 lines
2.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. [package]
  2. name = "crypto-primitives"
  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 library of cryptographic primitives that are used by Zexe"
  13. homepage = "https://libzexe.org"
  14. repository = "https://github.com/scipr/zexe"
  15. documentation = "https://docs.rs/crypto-primitives/"
  16. keywords = ["r1cs", "groth16", "gm17", "pedersen", "blake2s"]
  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-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
  24. bench-utils = { git = "https://github.com/scipr-lab/zexe" }
  25. blake2 = { version = "0.8", default-features = false }
  26. digest = "0.8"
  27. ff-fft = { git = "https://github.com/scipr-lab/zexe", default-features = false }
  28. gm17 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
  29. groth16 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
  30. r1cs-core = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
  31. r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
  32. rand = { version = "0.7", default-features = false }
  33. rayon = { version = "1.0", optional = true }
  34. derivative = { version = "2.0", features = ["use_core"] }
  35. tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
  36. [features]
  37. default = ["std", "r1cs"]
  38. r1cs = ["r1cs-core", "r1cs-std"]
  39. std = [ "algebra-core/std", "r1cs-core/std", "r1cs-std/std"]
  40. parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
  41. [dev-dependencies]
  42. algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
  43. r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
  44. rand_xorshift = { version = "0.2" }