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.

59 lines
1.8 KiB

3 years ago
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. description = "Arkworks bindings to Circom's R1CS, for Groth16 Proof and Witness generation in Rust"
  6. license = "MIT OR Apache-2.0"
  7. [lib]
  8. crate-type = ["cdylib", "rlib"]
  9. [dependencies]
  10. # WASM operations
  11. wasmer = { version = "=2.3.0", default-features = false }
  12. fnv = { version = "=1.0.7", default-features = false }
  13. num = { version = "=0.4.0" }
  14. num-traits = { version = "=0.2.15", default-features = false }
  15. num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] }
  16. # ZKP Generation
  17. ark-crypto-primitives = { version = "=0.4.0" }
  18. ark-ec = { version = "=0.4.1", default-features = false, features = ["parallel"] }
  19. ark-ff = { version = "=0.4.1", default-features = false, features = ["parallel", "asm"] }
  20. ark-std = { version = "=0.4.0", default-features = false, features = ["parallel"] }
  21. ark-bn254 = { version = "=0.4.0" }
  22. ark-groth16 = { version = "=0.4.0", default-features = false, features = ["parallel"] }
  23. ark-poly = { version = "=0.4.1", default-features = false, features = ["parallel"] }
  24. ark-relations = { version = "=0.4.0", default-features = false }
  25. ark-serialize = { version = "=0.4.1", default-features = false }
  26. # decoding of data
  27. hex = "=0.4.3"
  28. byteorder = "=1.4.3"
  29. # ethereum compat
  30. ethers-core = { version = "=2.0.7", default-features = false, optional = true }
  31. # error handling
  32. thiserror = "=1.0.39"
  33. color-eyre = "=0.6.2"
  34. criterion = "=0.3.6"
  35. cfg-if = "=1.0.0"
  36. [dev-dependencies]
  37. hex-literal = "=0.2.2"
  38. tokio = { version = "=1.29.1", features = ["macros"] }
  39. serde_json = "=1.0.94"
  40. ethers = "=2.0.7"
  41. [[bench]]
  42. name = "groth16"
  43. harness = false
  44. [features]
  45. default = ["wasmer/default", "circom-2", "ethereum"]
  46. wasm = ["wasmer/js-default"]
  47. bench-complex-all = []
  48. circom-2 = []
  49. ethereum = ["ethers-core"]