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.

60 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 = "4.3.0"
  12. wasmer-wasix = { version = "0.20.0" }
  13. fnv = { version = "=1.0.7", default-features = false }
  14. num = { version = "=0.4.0" }
  15. num-traits = { version = "=0.2.15", default-features = false }
  16. num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] }
  17. # ZKP Generation
  18. ark-crypto-primitives = { version = "0.5.0-alpha" }
  19. ark-ff = { version = "0.5.0-alpha", default-features = false, features = ["parallel", "asm"] }
  20. ark-ec = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] }
  21. ark-std = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] }
  22. ark-bn254 = { version = "0.5.0-alpha" }
  23. ark-groth16 = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] }
  24. ark-poly = { version = "0.5.0-alpha", default-features = false, features = ["parallel"] }
  25. ark-relations = { version = "0.5.0-alpha", default-features = false }
  26. ark-serialize = { version = "0.5.0-alpha", default-features = false }
  27. # decoding of data
  28. hex = "=0.4.3"
  29. byteorder = "=1.4.3"
  30. # ethereum compat
  31. ethers-core = { version = "=2.0.7", default-features = false, optional = true }
  32. # error handling
  33. thiserror = "=1.0.39"
  34. color-eyre = "=0.6.2"
  35. criterion = "=0.3.6"
  36. cfg-if = "=1.0.0"
  37. [dev-dependencies]
  38. hex-literal = "=0.2.2"
  39. tokio = { version = "=1.29.1", features = ["macros"] }
  40. serde_json = "=1.0.94"
  41. ethers = "=2.0.7"
  42. [[bench]]
  43. name = "groth16"
  44. harness = false
  45. [features]
  46. default = ["wasmer/default", "circom-2", "ethereum"]
  47. wasm = ["wasmer/js-default"]
  48. bench-complex-all = []
  49. circom-2 = []
  50. ethereum = ["ethers-core"]