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
1.5 KiB

  1. [package]
  2. name = "cp-benches"
  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. [dev-dependencies]
  23. algebra = { path = "../algebra", default-features = false }
  24. blake2 = { version = "0.7", default-features = false }
  25. criterion = "0.3.1"
  26. crypto-primitives = { path = "../crypto-primitives" }
  27. rand = { version = "0.7" }
  28. rand_xorshift = { version = "0.2" }
  29. ################################# Benchmarks ##################################
  30. [[bench]]
  31. name = "pedersen_crh"
  32. path = "benches/crypto_primitives/crh.rs"
  33. harness = false
  34. [[bench]]
  35. name = "pedersen_comm"
  36. path = "benches/crypto_primitives/comm.rs"
  37. harness = false
  38. [[bench]]
  39. name = "blake2s_prf"
  40. path = "benches/crypto_primitives/prf.rs"
  41. harness = false
  42. [[bench]]
  43. name = "schnorr_sig"
  44. path = "benches/crypto_primitives/signature.rs"
  45. harness = false
  46. [[bench]]
  47. name = "gm17"
  48. path = "benches/crypto_primitives/nizk.rs"
  49. required-features = ["r1cs", "gm17"]
  50. harness = false