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.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
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. json = "0.12.4"
  29. ark-ff = { version = "^0.3.0", default-features = false }
  30. ark-ec = { version = "^0.3.0", default-features = false }
  31. ark-std = { version = "^0.3.0"}
  32. ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] }
  33. ark-serialize = { version = "^0.3.0", features = ["derive"] }
  34. ark-sponge = { version = "^0.3.0" , features = ["r1cs"] }
  35. lazy_static = "1.4.0"
  36. rand = { version = "0.8", features = [ "std", "std_rng" ] }
  37. num-bigint = { version = "0.4" }
  38. [dev-dependencies]
  39. criterion = "0.3.1"
  40. [lib]
  41. name = "libspartan"
  42. path = "src/lib.rs"
  43. [[bin]]
  44. name = "snark"
  45. path = "profiler/snark.rs"
  46. [[bin]]
  47. name = "nizk"
  48. path = "profiler/nizk.rs"
  49. [[bench]]
  50. name = "snark"
  51. harness = false
  52. [[bench]]
  53. name = "nizk"
  54. harness = false
  55. [features]
  56. multicore = ["rayon"]
  57. profile = []