|
|
@ -0,0 +1,55 @@ |
|
|
|
[package] |
|
|
|
name = "ethdos-fold" |
|
|
|
version = "0.1.0" |
|
|
|
authors = ["arnaucube <git@arnaucube.com>"] |
|
|
|
edition = "2018" |
|
|
|
|
|
|
|
[lib] |
|
|
|
crate-type = ["cdylib", "rlib"] |
|
|
|
|
|
|
|
[dependencies] |
|
|
|
ark-bn254 = { version = "0.5.0", features = ["r1cs"] } |
|
|
|
ark-grumpkin = {version="0.5.0", features=["r1cs"]} |
|
|
|
ark-ec = "0.5.0" |
|
|
|
ark-ff = "0.5.0" |
|
|
|
ark-r1cs-std = { version = "0.5.0", default-features = false } |
|
|
|
ark-relations = { version = "0.5.0", default-features = false } |
|
|
|
ark-crypto-primitives = { version = "^0.5.0", default-features = false, features = [ |
|
|
|
"r1cs", |
|
|
|
"sponge", |
|
|
|
"crh", |
|
|
|
] } |
|
|
|
ark-std = "0.5.0" |
|
|
|
ark-serialize = { version = "^0.5.0", default-features = false } |
|
|
|
rand = "0.8.5" |
|
|
|
rand_core = {version = "0.6", default-features = false} |
|
|
|
base64 = "0.22.1" |
|
|
|
|
|
|
|
folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", features=["light-test"], rev="c6f1a246e0705582a75de6becf4ad21f325fa5a1"} |
|
|
|
# folding-schemes = { path = "../sonobe/sonobe_FCIRCUIT-EXTERNALINPUTS-TO-VEC/folding-schemes", package = "folding-schemes", features=["light-test"]} |
|
|
|
arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="0a9ea7ac1df07363af0fda723e313e775563b9f4"} |
|
|
|
# arkeddsa = { path = "../arkeddsa_TE-to-C", features=["r1cs"]} |
|
|
|
blake2 = "0.10" |
|
|
|
|
|
|
|
|
|
|
|
# WASM related dependencies: |
|
|
|
wasm-bindgen = "0.2.84" |
|
|
|
# The `console_error_panic_hook` crate provides better debugging of panics by |
|
|
|
# logging them with `console.error`. This is great for development, but requires |
|
|
|
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for |
|
|
|
# code size when deploying. |
|
|
|
console_error_panic_hook = { version = "0.1.7", optional = true } |
|
|
|
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] |
|
|
|
getrandom = { version = "0.2", default-features = false, features = ["js"] } # TODO review if needed |
|
|
|
web-sys = { version = "0.3.76", features = ["console", "Window", "Performance"] } |
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
wasm-bindgen-test = "0.3.34" |
|
|
|
|
|
|
|
[features] |
|
|
|
default = ["console_error_panic_hook"] |
|
|
|
|
|
|
|
[profile.release] |
|
|
|
# Tell `rustc` to optimize for small code size. |
|
|
|
opt-level = "s" |