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.

46 lines
1.1 KiB

1 year ago
4 years ago
4 years ago
  1. [package]
  2. name = "babyjubjub-rs"
  3. version = "0.0.10"
  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-rs"
  9. readme = "README.md"
  10. [dependencies]
  11. ff = {package="ff_ce", version= "0.11", features = ["derive"]}
  12. rand_new = {package="rand", version="0.8.5"}
  13. rand = "0.4.6"
  14. # rand = "0.8"
  15. num = "0.4"
  16. num-bigint = {version = "0.4", features = ["rand", "serde"]}
  17. num-traits = "0.2.8"
  18. generic-array = "0.14"
  19. poseidon-rs = "0.0.8"
  20. arrayref = "0.3.5"
  21. lazy_static = "1.4.0"
  22. serde = { version = "1.0.152", features = ["derive"] }
  23. bytes = "1.4.0"
  24. [dev-dependencies]
  25. criterion = "0.3"
  26. hex = "0.4"
  27. [[bench]]
  28. name = "bench_babyjubjub"
  29. harness = false
  30. [target.'cfg(not(any( target_arch = "aarch64", target_arch = "wasm32" )))'.dependencies]
  31. blake-hash = {version="0.4.1" }
  32. [target.'cfg(target_arch = "aarch64")'.dependencies]
  33. blake = { version = "2.0.1" }
  34. [target.'cfg(target_arch = "wasm32")'.dependencies]
  35. blake2 = { version = "0.10.6" }
  36. # [features]
  37. # default = ["blake-hash"]
  38. # aarch64 = ["blake"]