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.

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