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.

84 lines
2.4 KiB

4 years ago
4 years ago
3 years ago
4 years ago
3 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 = "testudo"
  3. version = "0.1.0"
  4. authors = ["Mara Mihali <mara.mihali@protocol.ai>","Srinath Setty <srinath@microsoft.com>" ]
  5. edition = "2021"
  6. description = "Spartan + Groth16 fast prover fast verifier SNARK"
  7. readme = "README.md"
  8. repository = "https://github.com/maramihali/Spartan"
  9. license-file = "LICENSE"
  10. keywords = ["SNARKs", "cryptography", "proofs"]
  11. [dependencies]
  12. merlin = "3.0.0"
  13. digest = "0.8.1"
  14. sha3 = "0.8.2"
  15. rayon = { version = "1.3.0", optional = true }
  16. itertools = "0.10.0"
  17. colored = "2.0.0"
  18. thiserror = "1.0"
  19. json = "0.12.4"
  20. ark-ff = { version = "^0.3.0", default-features = false }
  21. ark-ec = { version = "^0.3.0", default-features = false }
  22. ark-std = { version = "^0.3.0"}
  23. ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] }
  24. ark-serialize = { version = "^0.3.0", features = ["derive"] }
  25. ark-sponge = { version = "^0.3.0" , features = ["r1cs"] }
  26. ark-crypto-primitives = { version = "^0.3.0", default-features = true }
  27. ark-r1cs-std = { version = "^0.3.0", default-features = false }
  28. ark-nonnative-field = { version = "0.3.0", default-features = false }
  29. ark-relations = { version = "^0.3.0", default-features = false, optional = true }
  30. ark-groth16 = { version = "^0.3.0", features = ["r1cs"] }
  31. ark-bw6-761 = { version = "^0.3.0" }
  32. ark-poly-commit = { version = "^0.3.0" }
  33. ark-poly = {version = "^0.3.0"}
  34. lazy_static = "1.4.0"
  35. rand = { version = "0.8", features = [ "std", "std_rng" ] }
  36. tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
  37. tracing-subscriber = { version = "0.2" }
  38. [dev-dependencies]
  39. serde = { version = "1.0", features = ["derive"] }
  40. csv = "1.1.5"
  41. criterion = "0.3.6"
  42. [lib]
  43. name = "libspartan"
  44. path = "src/lib.rs"
  45. [[bin]]
  46. name = "snark"
  47. path = "profiler/snark.rs"
  48. [[bin]]
  49. name = "nizk"
  50. path = "profiler/nizk.rs"
  51. [[bench]]
  52. name = "snark"
  53. harness = false
  54. [[bench]]
  55. name = "nizk"
  56. harness = false
  57. [[bench]]
  58. name = "r1cs"
  59. harness = false
  60. debug = true
  61. [features]
  62. multicore = ["rayon"]
  63. profile = []
  64. default = ["asm","parallel", "std", "multicore"]
  65. asm = ["ark-ff/asm"]
  66. parallel = [ "std", "ark-ff/parallel", "ark-std/parallel", "ark-ec/parallel", "ark-poly/parallel", "rayon"]
  67. std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std"]
  68. [patch.crates-io]
  69. ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}
  70. ark-poly-commit = {git = "https://github.com/maramihali/poly-commit"}