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.

89 lines
2.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
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. ark-groth16 = { version = "^0.3.0", features = ["r1cs"] }
  41. ark-bw6-761 = { version = "^0.3.0" }
  42. lazy_static = "1.4.0"
  43. rand = { version = "0.8", features = [ "std", "std_rng" ] }
  44. num-bigint = { version = "0.4" }
  45. tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
  46. tracing-subscriber = { version = "0.2" }
  47. [dev-dependencies]
  48. serde = { version = "1.0", features = ["derive"] }
  49. csv = "1.1.5"
  50. criterion = "0.3.6"
  51. [lib]
  52. name = "libspartan"
  53. path = "src/lib.rs"
  54. [[bin]]
  55. name = "snark"
  56. path = "profiler/snark.rs"
  57. [[bin]]
  58. name = "nizk"
  59. path = "profiler/nizk.rs"
  60. [[bench]]
  61. name = "snark"
  62. harness = false
  63. [[bench]]
  64. name = "nizk"
  65. harness = false
  66. [[bench]]
  67. name = "r1cs"
  68. harness = false
  69. debug = true
  70. [features]
  71. multicore = ["rayon"]
  72. profile = []
  73. default = ["parallel", "std"]
  74. parallel = [ "std", "ark-ff/parallel", "ark-std/parallel", "ark-ec/parallel"]
  75. std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std"]
  76. [patch.crates-io]
  77. ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}