-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathCargo.toml
60 lines (50 loc) · 1.54 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "mopro-ffi"
version = "0.1.0"
edition = "2021"
description = "Mopro is a toolkit for ZK app development on mobile. Mopro makes client-side proving on mobile simple."
license = "MIT OR Apache-2.0"
repository = "https://github.com/zkmopro/mopro"
documentation = "https://zkmopro.org/"
homepage = "https://zkmopro.org/"
exclude = ["target/*"]
[lib]
name = "mopro_ffi"
[features]
default = []
halo2 = []
circom = [
"circom-prover",
"rust-witness",
"ark-bn254",
"ark-bls12-381",
"ark-ff",
]
[dependencies]
uniffi = { version = "=0.28.0", features = ["cli", "build"] }
serde = { version = "1.0", features = ["derive"] }
anyhow = "1.0.86"
bincode = "1.3.3"
num-bigint = { version = "0.4.3", default-features = false, features = ["rand",] }
# Error handling
thiserror = "=2.0.3"
color-eyre = "=0.6.2"
# circom deps
rust-witness = { version = "0.1.1", optional = true }
ark-ff = { version = "0.4.0", optional = true }
circom-prover = {path = "../circom-prover", optional = true}
# ZKP generation
ark-bn254 = { version = "=0.4.0", optional = true }
uuid = { version = "1.9.1", features = ["v4"] }
ark-bls12-381 = { version = "0.4.0", optional = true }
[build-dependencies]
rust-witness = { version = "0.1.1", optional = true }
uniffi = { version = "=0.28.0", features = ["build"] }
[dev-dependencies]
color-eyre = "0.6"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
# Halo2 dependencies
plonk-fibonacci = { workspace = true }
hyperplonk-fibonacci = { workspace = true }
gemini-fibonacci = { workspace = true }