# 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" rust-version = "1.59" name = "halo2_gadgets" version = "0.3.0" authors = [ "Sean Bowe ", "Jack Grigg ", "Daira Hopwood ", "Ying Tong Lai ", "Kris Nuttycombe ", ] description = "Reusable gadgets and chip implementations for Halo 2" readme = "README.md" keywords = [ "halo", "proofs", "zcash", "zkp", "zkSNARKs", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/zcash/halo2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "katex-header.html", ] [lib] bench = false [[bench]] name = "primitives" harness = false [[bench]] name = "poseidon" harness = false [[bench]] name = "sha256" harness = false required-features = ["unstable-sha256-gadget"] [dependencies.arrayvec] version = "0.7.0" [dependencies.bitvec] version = "1" [dependencies.ff] version = "0.13" [dependencies.group] version = "0.13" [dependencies.halo2_proofs] version = "0.3" default-features = false [dependencies.lazy_static] version = "1" [dependencies.pasta_curves] version = "0.5" [dependencies.plotters] version = "0.3.0" optional = true default-features = false [dependencies.proptest] version = "1.0.0" optional = true [dependencies.rand] version = "0.8" [dependencies.subtle] version = "2.3" [dependencies.uint] version = "0.9.2" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.proptest] version = "1.0.0" [features] beta = ["halo2_proofs/beta"] nightly = [ "beta", "halo2_proofs/nightly", "unstable-sha256-gadget", ] test-dependencies = ["proptest"] test-dev-graph = [ "halo2_proofs/dev-graph", "plotters", "plotters/bitmap_backend", "plotters/bitmap_encoder", ] unstable-sha256-gadget = [] [target."cfg(unix)".dev-dependencies.inferno] version = ">=0.11, <0.11.5" [target."cfg(unix)".dev-dependencies.pprof] version = "0.8" features = [ "criterion", "flamegraph", ]