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.

43 lines
1.3 KiB

3 years ago
3 years ago
  1. [package]
  2. name = "babyjubjub-ark"
  3. version = "0.0.1"
  4. authors = ["arnaucube <root@arnaucube.com>"]
  5. edition = "2021"
  6. license = "GPL-3.0"
  7. description = "BabyJubJub elliptic curve implementation"
  8. repository = "https://github.com/arnaucube/babyjubjub-ark"
  9. readme = "README.md"
  10. [dependencies]
  11. ark-ff = "0.4.0"
  12. ark-bn254 = { version = "0.4.0" }
  13. ark-std = { version = "0.4.0" }
  14. poseidon-ark = { git = "https://github.com/arnaucube/poseidon-ark" }
  15. # ff = {package="ff_ce" , version= "0.11", features = ["derive"]}
  16. # rand = "0.8" # WIP
  17. # num = "0.4"
  18. # num-bigint = {version = "0.4", features = ["rand"]}
  19. # num-traits = "0.2.8"
  20. blake-hash = {version="0.4.0", optional=true}
  21. blake = {version="2.0.1", optional=true}
  22. blake2 = { version = "0.10", optional=true}
  23. generic-array = "0.14"
  24. arrayref = "0.3.5"
  25. lazy_static = "1.4.0"
  26. [dev-dependencies]
  27. criterion = "0.3"
  28. hex = "0.4"
  29. [[bench]]
  30. name = "bench_babyjubjub"
  31. harness = false
  32. [features]
  33. default = ["blake-hash"] # compatible with circomlib
  34. aarch64 = ["blake"] # compatible with circomlib
  35. wasm = ["blake2"] # Warning: this feature is not compatible with the circomlib key generation (meaning that same secret keys will lead to different public keys. But the signatures are compatible with circomlib & circomlibjs.
  36. # wasm = ["blake-hash"]