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.

62 lines
1.6 KiB

4 years ago
4 years ago
4 years ago
4 years ago
3 years ago
4 years ago
4 years ago
4 years ago
3 years ago
4 years ago
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. [package]
  2. name = "spartan"
  3. version = "0.6.0"
  4. authors = ["Srinath Setty <srinath@microsoft.com>"]
  5. edition = "2018"
  6. description = "High-speed zkSNARKs without trusted setup"
  7. documentation = "https://docs.rs/spartan/"
  8. readme = "README.md"
  9. repository = "https://github.com/microsoft/Spartan"
  10. license-file = "LICENSE"
  11. keywords = ["zkSNARKs", "cryptography", "proofs"]
  12. [dependencies]
  13. curve25519-dalek = {version = "3.2.0", features = ["serde", "simd_backend"]}
  14. merlin = "3.0.0"
  15. digest = "0.8.1"
  16. sha3 = "0.8.2"
  17. byteorder = "1.3.4"
  18. rayon = { version = "1.3.0", optional = true }
  19. serde = { version = "1.0.106", features = ["derive"] }
  20. bincode = "1.2.1"
  21. subtle = { version = "2.4", default-features = false }
  22. rand_core = { version = "0.5", default-features = false }
  23. zeroize = { version = "1", default-features = false }
  24. itertools = "0.10.0"
  25. colored = "2.0.0"
  26. flate2 = "1.0.14"
  27. thiserror = "1.0"
  28. ark-ff = { version = "^0.3.0", default-features = false }
  29. ark-ec = { version = "^0.3.0", default-features = false }
  30. ark-std = { version = "^0.3.0"}
  31. ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] }
  32. ark-serialize = { version = "^0.3.0", features = ["derive"] }
  33. lazy_static = "1.4.0"
  34. rand = { version = "0.8", features = [ "std", "std_rng" ] }
  35. num-bigint = { version = "0.4" }
  36. [dev-dependencies]
  37. criterion = "0.3.1"
  38. [lib]
  39. name = "libspartan"
  40. path = "src/lib.rs"
  41. [[bin]]
  42. name = "snark"
  43. path = "profiler/snark.rs"
  44. [[bin]]
  45. name = "nizk"
  46. path = "profiler/nizk.rs"
  47. [[bench]]
  48. name = "snark"
  49. harness = false
  50. [[bench]]
  51. name = "nizk"
  52. harness = false
  53. [features]
  54. multicore = ["rayon"]
  55. profile = []