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.

51 lines
1.9 KiB

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-core = { path = "../algebra-core", default-features = false }
  24. bench-utils = { path = "../bench-utils" }
  25. blake2 = { version = "0.8", default-features = false }
  26. digest = "0.8"
  27. ff-fft = { path = "../ff-fft", default-features = false }
  28. gm17 = { path = "../gm17", optional = true, default-features = false }
  29. groth16 = { path = "../groth16", optional = true, default-features = false }
  30. r1cs-core = { path = "../r1cs-core", 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. [features]
  36. default = ["std"]
  37. r1cs = ["r1cs-core", "r1cs-std"]
  38. std = ["r1cs", "algebra-core/std", "r1cs-core/std", "r1cs-std/std"]
  39. parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
  40. [dev-dependencies]
  41. algebra = { path = "../algebra", default-features = false, features = [ "jubjub", "bls12_377", "mnt4_298", "mnt6_298" ] }
  42. r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "jubjub", "bls12_377", "mnt4_298", "mnt6_298" ] }
  43. rand_xorshift = { version = "0.2" }