# 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 = "plonky2" version = "0.2.2" authors = [ "Daniel Lubarov ", "William Borgeaud ", "Nicholas Ward ", ] description = "Recursive SNARKs based on PLONK and FRI" homepage = "https://github.com/0xPolygonZero/plonky2" readme = "README.md" keywords = [ "cryptography", "SNARK", "PLONK", "FRI", "plonky2", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/0xPolygonZero/plonky2" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", ".cargo/katex-header.html", ] [[bin]] name = "generate_constants" required-features = ["rand_chacha"] [[bench]] name = "field_arithmetic" harness = false [[bench]] name = "ffts" harness = false [[bench]] name = "hashing" harness = false [[bench]] name = "merkle" harness = false [[bench]] name = "transpose" harness = false [[bench]] name = "reverse_index_bits" harness = false [dependencies.ahash] version = "0.8.7" features = ["compile-time-rng"] default-features = false [dependencies.anyhow] version = "1.0.40" default-features = false [dependencies.hashbrown] version = "0.14.3" features = [ "ahash", "serde", ] default-features = false [dependencies.itertools] version = "0.11.0" default-features = false [dependencies.keccak-hash] version = "0.8.0" default-features = false [dependencies.log] version = "0.4.14" default-features = false [dependencies.num] version = "0.4" features = ["rand"] default-features = false [dependencies.plonky2_field] version = "0.2.2" default-features = false [dependencies.plonky2_maybe_rayon] version = "0.2.0" default-features = false [dependencies.plonky2_util] version = "0.2.0" default-features = false [dependencies.rand] version = "0.8.4" default-features = false [dependencies.rand_chacha] version = "0.3.1" optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] default-features = false [dependencies.static_assertions] version = "1.1.0" default-features = false [dependencies.unroll] version = "0.1.5" default-features = false [dependencies.web-time] version = "1.0.0" optional = true [dev-dependencies.criterion] version = "0.5.1" default-features = false [dev-dependencies.env_logger] version = "0.9.0" default-features = false [dev-dependencies.num_cpus] version = "1.14.0" default-features = false [dev-dependencies.rand] version = "0.8.4" features = ["getrandom"] default-features = false [dev-dependencies.rand_chacha] version = "0.3.1" default-features = false [dev-dependencies.serde_cbor] version = "0.11.2" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.structopt] version = "0.3.26" default-features = false [dev-dependencies.tynm] version = "0.1.6" default-features = false [features] default = [ "gate_testing", "parallel", "rand_chacha", "std", "timing", ] gate_testing = [] parallel = [ "hashbrown/rayon", "plonky2_maybe_rayon/parallel", ] std = [ "anyhow/std", "rand/std", "itertools/use_std", ] timing = [ "std", "dep:web-time", ] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.getrandom] version = "0.2" features = ["js"] default-features = false [target."cfg(not(target_env = \"msvc\"))".dev-dependencies.jemallocator] version = "0.5.0"