mirror of
https://github.com/zkemail/halo2-zk-email.git
synced 2026-01-10 14:28:17 -05:00
99 lines
3.8 KiB
TOML
99 lines
3.8 KiB
TOML
[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" }
|
|
# 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 = "feat/main_gate" }
|
|
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.3.0", git = "https://github.com/SoraSuegami/dkim.git" }
|
|
slog = "2.7.0"
|
|
fancy-regex = "0.11.0"
|
|
poseidon = { version = "0.2.0", git = "https://github.com/privacy-scaling-explorations/poseidon.git", rev = "2fb4a2385bada39b50dce12fe50cb80d2fd33476" }
|
|
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"
|
|
thiserror = "1.0.40"
|
|
once_cell = "1.18.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
ethers = { version = "2.0.8", default_features = false, features = [
|
|
"ethers-solc",
|
|
], git = "https://github.com/gakonst/ethers-rs.git", tag = "ethers-v2.0.8" }
|
|
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.3" }
|
|
temp-env = "0.3.3"
|
|
|
|
|
|
[[bench]]
|
|
name = "email_verify"
|
|
harness = false
|
|
|
|
# [[bench]]
|
|
# name = "recursion"
|
|
# harness = 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" }
|