webgpu-groth16 0.2.0

Groth16 GPU prover aimed primarily at browser environments
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "webgpu-groth16"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Groth16 GPU prover aimed primarily at browser environments"
readme = "README.md"
license = "MIT"
repository = "https://github.com/heliaxdev/webgpu-groth16"

[features]
bellman-provider-bellman = ["dep:bellman"]
bellman-provider-nam-bellperson = ["dep:nam-bellperson"]
default = ["bellman-provider-nam-bellperson"]
profiling = ["dep:wgpu-profiler"]
timing = []

[lib]
name = "webgpu_groth16"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "profile"
path = "examples/profile.rs"

[[bench]]
name = "groth16_bench"
path = "benches/groth16_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bellman]
version = "0.14.0"
optional = true

[dependencies.blstrs]
version = "0.7.1-nam.0"
package = "nam-blstrs"

[dependencies.bytemuck]
version = "1.25.0"

[dependencies.ff]
version = "0.13.1"

[dependencies.futures]
version = "0.3.32"

[dependencies.group]
version = "0.13"

[dependencies.nam-bellperson]
version = "0.26.6-nam.1"
optional = true

[dependencies.pairing]
version = "0.23.0"

[dependencies.rand_core]
version = "0.6.4"

[dependencies.subtle]
version = "2.5"

[dependencies.wasm-bindgen]
version = "0.2.113"

[dependencies.wgpu]
version = "28.0.0"

[dependencies.wgpu-profiler]
version = "0.26"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.masp_primitives]
version = "3.0.9"

[dev-dependencies.masp_proofs]
version = "3.0.9"
default-features = false

[dev-dependencies.rand_core]
version = "0.6.4"
features = ["getrandom"]

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
]