forked from zkemail/halo2-zk-email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
97 lines (90 loc) · 3.64 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "halo2-zk-email"
version = "0.1.0"
edition = "2021"
[dependencies]
num-bigint = { version = "0.4", features = ["rand"] }
sha2 = "0.10.6"
rand = "0.8.5"
rsa = { version = "0.6.1", features = ["serde"] }
halo2-base = { version = "0.2.2", default-features = false, features = [
"halo2-pse",
"display",
], git = "https://github.com/axiom-crypto/halo2-lib.git", rev = "9860acc" }
halo2-ecc = { version = "0.2.2", default-features = false, features = [
"halo2-pse",
"display",
], git = "https://github.com/axiom-crypto/halo2-lib.git", rev = "9860acc" }
# halo2-dynamic-sha256 = { path = "../halo2-dynamic-sha256-1" }
halo2-dynamic-sha256 = { git = "https://github.com/zkemail/halo2-dynamic-sha256.git", version = "0.1.0", branch = "main" }
halo2-rsa = { git = "https://github.com/zkemail/halo2-rsa.git", version = "0.1.0", branch = "main", default-features = false }
halo2-regex = { git = "https://github.com/zkemail/halo2-regex.git", version = "0.1.0", branch = "main" }
# halo2-regex = { path = "../halo2-regex-2", version = "0.1.0" }
halo2-base64 = { git = "https://github.com/zkemail/halo2-base64.git", version = "0.1.0", branch = "main" }
num-traits = "0.2.15"
base64 = "0.21"
# snark-verifier = { git = "https://github.com/privacy-scaling-explorations/snark-verifier.git", version = "0.1.0", branch = "main" }
# halo2_wrong_ecc = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2023_02_02", package = "ecc" }
snark-verifier = { git = "https://github.com/zkemail/snark-verifier.git", version = "0.1.0", branch = "main", default-features = false, features = [
"loader_evm",
"loader_halo2",
"halo2-pse",
] }
snark-verifier-sdk = { git = "https://github.com/zkemail/snark-verifier.git", version = "0.0.1", branch = "main", default-features = false, features = [
"loader_evm",
"loader_halo2",
"halo2-pse",
] }
ark-std = { version = "0.4.0", features = ["print-trace"] }
ethereum-types = { version = "0.14", default-features = false, features = [
"std",
] }
itertools = "0.10.3"
clap = { version = "4.2.1", features = ["derive"] }
serde_json = "1.0.95"
serde = { version = "1.0.159", features = ["derive"] }
cfdkim = { version = "0.2.6", git = "https://github.com/SoraSuegami/dkim.git" }
slog = "2.7.0"
fancy-regex = "0.11.0"
regex-simple = { version = "1", package = "regex" }
hex = "0.4.3"
tokio = { version = "1.16", features = [
"net",
"io-util",
"time",
"rt-multi-thread",
"macros",
] }
serde_regex = "1.1.0"
mailparse = "0.14"
js-sandbox = { version = "0.2.0-rc.1", git = "https://github.com/Bromeon/js-sandbox.git" }
# daggy = "0.8.0"
petgraph = "0.6.3"
graph-cycles = "0.1.0"
thiserror = "1.0.40"
[dev-dependencies]
criterion = { version = "0.3" }
temp-env = "0.3.3"
[[bench]]
name = "email_verify"
harness = false
[[bench]]
name = "recursion"
harness = false
[[bin]]
name = "zkemail"
test = false
bench = false
# [patch."https://github.com/axiom-crypto/halo2-lib.git"]
# halo2-base = { version = "0.2.2", default-features = false, features = [
# "halo2-pse",
# "display",
# ], git = "https://github.com/axiom-crypto//halo2-lib.git", rev = "9860acc" }
# halo2-ecc = { version = "0.2.2", default-features = false, features = [
# "halo2-pse",
# "display",
# ], git = "https://github.com/axiom-crypto//halo2-lib.git", rev = "9860acc" }
# halo2-base = { version = "0.2.2", git = "https://github.com/SoraSuegami/halo2-lib.git" }
# halo2-ecc = { version = "0.2.2", git = "https://github.com/SoraSuegami/halo2-lib.git" }
[patch."https://github.com/privacy-scaling-explorations/halo2.git"]
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations//halo2.git", tag = "v2023_02_02" }