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.

65 lines
1.5 KiB

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