babyjubjub-ark/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "babyjubjub-ark"
3version = "0.0.1"
4authors = ["arnaucube <root@arnaucube.com>"]
5edition = "2021"
6license = "GPL-3.0"
7description = "BabyJubJub elliptic curve implementation"
8repository = "https://github.com/arnaucube/babyjubjub-ark"
9readme = "README.md"
10
11[dependencies]
12ark-ff = "0.4.0"
13ark-bn254 = { version = "0.4.0" }
14ark-std = { version = "0.4.0" }
15poseidon-ark = { git = "https://github.com/arnaucube/poseidon-ark" }
16
17
18# ff = {package="ff_ce" , version= "0.11", features = ["derive"]}
19# rand = "0.8" # WIP
20# num = "0.4"
21# num-bigint = {version = "0.4", features = ["rand"]}
22# num-traits = "0.2.8"
23blake-hash = {version="0.4.0", optional=true}
24blake = {version="2.0.1", optional=true}
25blake2 = { version = "0.10", optional=true}
26generic-array = "0.14"
27arrayref = "0.3.5"
28lazy_static = "1.4.0"
29
30[dev-dependencies]
31criterion = "0.3"
32hex = "0.4"
33
34
35[[bench]]
36name = "bench_babyjubjub"
37harness = false
38
39[features]
40default = ["blake-hash"] # compatible with circomlib
41aarch64 = ["blake"] # compatible with circomlib
42wasm = ["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.
43# wasm = ["blake-hash"]