-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
64 lines (57 loc) · 2.1 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
[package]
name = "halo2-regex"
version = "0.1.0"
edition = "2021"
[dependencies]
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" }
plotters = { version = "0.3.0", optional = true }
tabbycat = { version = "0.1", features = ["attributes"], optional = true }
fancy-regex = "0.11.0"
petgraph = { version = "0.6.3", optional = true }
graph-cycles = { version = "0.1.0", optional = true }
thiserror = "1.0.40"
serde_json = "1.0.95"
serde = { version = "1.0.159", features = ["derive"] }
js-sandbox = { version = "0.2.0-rc.1", git = "https://github.com/Bromeon/js-sandbox.git", rev = "cd256ef", optional = true }
itertools = "0.10.3"
clap = { version = "=4.2.1", features = ["derive"] }
log = "0.4.17"
ahash = "=0.8.6"
zk-regex-compiler = { git = "https://github.com/shreyas-londhe/zk-regex.git", branch = "feat/halo2-regex" }
[target.'cfg(target_family = "wasm")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = { version = "0.2.81", features = ["serde-serialize"] }
console_error_panic_hook = "0.1.7"
rayon = "1.5"
wasm-bindgen-rayon = { version = "1.0" }
web-sys = { version = "0.3", features = ["Request", "Window", "Response"] }
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
[dev-dependencies]
rand = "0.8.5"
itertools = "0.10.3"
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",
] }
criterion = { version = "0.3" }
[[bench]]
name = "regex_evm"
harness = false
[lib]
name = "halo2_regex"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]