-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathCargo.toml
51 lines (42 loc) · 1.89 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
[package]
name = "halo2-wasm"
version = "0.3.4"
authors = ["Intrinsic Technologies"]
license = "MIT"
edition = "2021"
repository = "https://github.com/axiom-crypto/halo2-browser/halo2-wasm"
readme = "readme.md"
description = "Wasm bindings for the halo2 circuit library."
rust-version = "1.73.0"
[lib]
crate-type = ["cdylib", "lib"]
[dependencies]
wasm-bindgen = { version = "0.2.87" }
halo2-base = { version = "0.4.1", features = ["halo2-axiom"] }
# halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib.git", branch = "main", features = ["halo2-axiom"] }
halo2-ecc = { version = "0.4.1", default-features = false, features = ["halo2-axiom"] }
# halo2-ecc = { git = "https://github.com/axiom-crypto/halo2-lib.git", branch = "main", default-features = false, features = ["halo2-axiom"] }
snark-verifier-sdk = { version = "0.1.7", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
# snark-verifier-sdk = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "main", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
snark-verifier = { version = "0.1.7", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
# snark-verifier = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "main", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
getrandom = { version = "0.2", features = ["js"] }
rand = "0.8"
itertools = "0.11"
web-sys = { version = "0.3", features = ["Request", "Window", "Response", "console"] }
console_error_panic_hook = "0.1.7"
js-sys = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.4"
serde_bytes = "0.11"
bincode = "1.3"
tsify = "0.4.5"
num-bigint = "0.4"
num-traits = "0.2"
num-integer = "0.1.45"
paste = "1.0.14"
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen-rayon = { version = "=1.1.3" }
[features]
default = ["rayon"]
rayon = []