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.

52 lines
1.5 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. [package]
  2. name = "ark-circom"
  3. version = "0.1.0"
  4. edition = "2018"
  5. [dependencies]
  6. # WASM operations
  7. wasmer = { version = "2.0" }
  8. fnv = { version = "1.0.3", default-features = false }
  9. num = { version = "0.4.0" }
  10. num-traits = { version = "0.2.0", default-features = false }
  11. num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
  12. # ZKP Generation
  13. ark-crypto-primitives = { version = "0.4.0" }
  14. ark-ec = { version = "0.4.1", default-features = false, features = ["parallel"] }
  15. ark-ff = { version = "0.4.1", default-features = false, features = ["parallel", "asm"] }
  16. ark-std = { version = "0.4.0", default-features = false, features = ["parallel"] }
  17. ark-bn254 = { version = "0.4.0" }
  18. ark-groth16 = { version = "0.4.0", features = ["parallel"] }
  19. ark-poly = { version = "0.4.1", default-features = false, features = ["parallel"] }
  20. ark-relations = { version = "0.4.0", default-features = false }
  21. ark-serialize = { version = "0.4.1", default-features = false }
  22. # decoding of data
  23. hex = "0.4.3"
  24. byteorder = "1.4.3"
  25. # ethereum compat
  26. ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
  27. # error handling
  28. thiserror = "1.0.26"
  29. color-eyre = "0.6.1"
  30. criterion = "0.3.4"
  31. cfg-if = "1.0"
  32. [dev-dependencies]
  33. hex-literal = "0.2.1"
  34. tokio = { version = "1.7.1", features = ["macros"] }
  35. serde_json = "1.0.64"
  36. ethers = { git = "https://github.com/gakonst/ethers-rs" }
  37. [[bench]]
  38. name = "groth16"
  39. harness = false
  40. [features]
  41. bench-complex-all = []
  42. circom-2 = []
  43. ethereum = ["ethers-core"]
  44. default = ["circom-2", "ethereum"]