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.

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