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.

66 lines
1.6 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. [package]
  2. name = "crypto-primitives"
  3. version = "0.1.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 = { path = "../algebra" }
  24. r1cs-core = { path = "../r1cs-core", optional = true }
  25. r1cs-std = { path = "../r1cs-std", optional = true }
  26. gm17 = { path = "../gm17", optional = true }
  27. groth16 = { path = "../groth16", optional = true }
  28. bench-utils = { path = "../bench-utils" }
  29. digest = "0.7"
  30. blake2 = "0.7"
  31. rand = { version = "0.7" }
  32. derivative = "1"
  33. rayon = "1"
  34. [features]
  35. r1cs = [ "r1cs-core", "r1cs-std" ]
  36. [dev-dependencies]
  37. criterion = "0.3.1"
  38. rand_xorshift = { version = "0.2" }
  39. ################################# Benchmarks ##################################
  40. [[bench]]
  41. name = "pedersen_crh"
  42. path = "benches/crypto_primitives/crh.rs"
  43. harness = false
  44. [[bench]]
  45. name = "pedersen_comm"
  46. path = "benches/crypto_primitives/comm.rs"
  47. harness = false
  48. [[bench]]
  49. name = "blake2s_prf"
  50. path = "benches/crypto_primitives/prf.rs"
  51. harness = false
  52. [[bench]]
  53. name = "schnorr_sig"
  54. path = "benches/crypto_primitives/signature.rs"
  55. harness = false