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.

74 lines
2.1 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.7.1"
  4. authors = ["Srinath Setty <srinath@microsoft.com>"]
  5. edition = "2021"
  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"]}
  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. ark-crypto-primitives = { version = "^0.3.0", default-features = true }
  36. ark-r1cs-std = { version = "^0.3.0", default-features = false }
  37. ark-nonnative-field = { version = "0.3.0", default-features = false }
  38. ark-relations = { version = "^0.3.0", default-features = false }
  39. ark-snark = { version = "^0.3.0", default-features = false }
  40. lazy_static = "1.4.0"
  41. rand = { version = "0.8", features = [ "std", "std_rng" ] }
  42. num-bigint = { version = "0.4" }
  43. [dev-dependencies]
  44. criterion = "0.3.1"
  45. [lib]
  46. name = "libspartan"
  47. path = "src/lib.rs"
  48. [[bin]]
  49. name = "snark"
  50. path = "profiler/snark.rs"
  51. [[bin]]
  52. name = "nizk"
  53. path = "profiler/nizk.rs"
  54. [[bench]]
  55. name = "snark"
  56. harness = false
  57. [[bench]]
  58. name = "nizk"
  59. harness = false
  60. [features]
  61. default = ["curve25519-dalek/simd_backend"]
  62. multicore = ["rayon"]
  63. profile = []
  64. [patch.crates-io]
  65. ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}