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.

45 lines
1.6 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 = { path = "../algebra", default-features = false }
  24. bench-utils = { path = "../bench-utils" }
  25. blake2 = { version = "0.7", default-features = false }
  26. derivative = { version = "1.0", features = ["use_core"] }
  27. digest = "0.7"
  28. ff-fft = { path = "../ff-fft", default-features = false }
  29. gm17 = { path = "../gm17", optional = true, default-features = false }
  30. groth16 = { path = "../groth16", optional = true, default-features = false }
  31. r1cs-core = { path = "../r1cs-core", optional = true, default-features = false }
  32. r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
  33. rand = { version = "0.7", default-features = false }
  34. rayon = { version = "1.0", optional = true }
  35. [features]
  36. default = ["parallel"]
  37. r1cs = ["r1cs-core", "r1cs-std"]
  38. std = ["r1cs", "algebra/std", "r1cs-core/std", "r1cs-std/std", "gm17/std", "groth16/std", "ff-fft/std"]
  39. parallel = ["std", "rayon"]
  40. [dev-dependencies]
  41. rand_xorshift = { version = "0.2" }