[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 = []