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.

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