arnaucube
arnaucube/ethdos-foldPublic Self-hosted repository
ethdos-fold/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "ethdos-fold"
 3version = "0.1.0"
 4authors = ["arnaucube <git@arnaucube.com>"]
 5edition = "2018"
 6
 7[lib]
 8crate-type = ["cdylib", "rlib"]
 9
10[dependencies]
11ark-bn254 = { version = "0.5.0", features = ["r1cs"] }
12ark-grumpkin = {version="0.5.0", features=["r1cs"]}
13ark-ec = "0.5.0"
14ark-ff = "0.5.0"
15ark-r1cs-std = { version = "0.5.0", default-features = false }
16ark-relations = { version = "0.5.0", default-features = false }
17ark-crypto-primitives = { version = "^0.5.0", default-features = false, features = [
18    "r1cs",
19    "sponge",
20    "crh",
21] }
22ark-std = "0.5.0"
23ark-serialize = { version = "^0.5.0", default-features = false }
24rand = "0.8.5"
25rand_core = {version = "0.6", default-features = false}
26base64 = "0.22.1"
27lz4_flex = { version = "0.11" } # compression
28
29folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", features=["light-test"], rev="c6f1a246e0705582a75de6becf4ad21f325fa5a1"}
30arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="0a9ea7ac1df07363af0fda723e313e775563b9f4"}
31blake2 = "0.10"
32
33
34# WASM related dependencies:
35wasm-bindgen = "0.2.84"
36# The `console_error_panic_hook` crate provides better debugging of panics by
37# logging them with `console.error`. This is great for development, but requires
38# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
39# code size when deploying.
40console_error_panic_hook = { version = "0.1.7", optional = true }
41
42[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
43getrandom = { version = "0.2", default-features = false, features = ["js"] } # TODO review if needed
44web-sys = { version = "0.3.76", features = ["console", "Window", "Performance"] }
45
46[dev-dependencies]
47wasm-bindgen-test = "0.3.34"
48
49[features]
50default = ["console_error_panic_hook"]
51
52[profile.release]
53# Tell `rustc` to optimize for small code size.
54opt-level = "s"