# 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 = "2021" name = "risc0-groth16" version = "1.2.1-rc.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "RISC Zero Groth16" homepage = "https://risczero.com/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/risc0/risc0/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "risc0_groth16" path = "src/lib.rs" [[test]] name = "verify" path = "tests/verify.rs" [dependencies.anyhow] version = "1.0" default-features = false [dependencies.ark-bn254] version = "0.4" [dependencies.ark-ec] version = "0.4" [dependencies.ark-groth16] version = "0.4" default-features = false [dependencies.ark-serialize] version = "0.4" default-features = false [dependencies.bytemuck] version = "1.14" [dependencies.hex] version = "0.4" features = ["alloc"] default-features = false [dependencies.num-bigint] version = "0.4" default-features = false [dependencies.num-traits] version = "0.2" optional = true default-features = false [dependencies.risc0-binfmt] version = "1.2.1-rc.0" default-features = false [dependencies.risc0-core] version = "1.2.1-rc.0" optional = true default-features = false [dependencies.risc0-zkp] version = "1.2.1-rc.0" default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] default-features = false [dependencies.serde_json] version = "1.0" optional = true [dependencies.stability] version = "0.2" [dependencies.tempfile] version = "3" optional = true [dependencies.tracing] version = "0.1" optional = true [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.test-log] version = "0.2" features = ["trace"] default-features = false [features] default = ["std"] prove = [ "dep:num-traits", "dep:risc0-core", "dep:serde_json", "dep:tempfile", "dep:tracing", "risc0-zkp/prove", "std", ] std = [ "anyhow/std", "ark-bn254/std", "ark-groth16/std", "ark-serialize/std", "hex/std", "num-bigint/std", "num-traits?/std", "risc0-zkp/std", "serde/std", ]