[[bench]]
harness = false
name = "ffts"
path = "benches/ffts.rs"
[[bench]]
harness = false
name = "field_arithmetic"
path = "benches/field_arithmetic.rs"
[[bench]]
harness = false
name = "hashing"
path = "benches/hashing.rs"
[[bench]]
harness = false
name = "merkle"
path = "benches/merkle.rs"
[[bench]]
harness = false
name = "reverse_index_bits"
path = "benches/reverse_index_bits.rs"
[[bench]]
harness = false
name = "transpose"
path = "benches/transpose.rs"
[[bin]]
name = "generate_constants"
path = "src/bin/generate_constants.rs"
required-features = ["rand_chacha"]
[dependencies.ahash]
default-features = false
features = ["compile-time-rng"]
version = "0.8.7"
[dependencies.anyhow]
default-features = false
version = "1.0.40"
[dependencies.hashbrown]
default-features = false
features = ["ahash", "serde"]
version = "0.14.3"
[dependencies.itertools]
default-features = false
version = "0.11.0"
[dependencies.keccak-hash]
default-features = false
version = "0.8.0"
[dependencies.log]
default-features = false
version = "0.4.14"
[dependencies.num]
default-features = false
features = ["rand"]
version = "0.4"
[dependencies.plonky2_field]
default-features = false
version = "1.0.0"
[dependencies.plonky2_maybe_rayon]
default-features = false
version = "1.0.0"
[dependencies.plonky2_util]
default-features = false
version = "1.0.0"
[dependencies.rand]
default-features = false
version = "0.8.4"
[dependencies.rand_chacha]
default-features = false
optional = true
version = "0.3.1"
[dependencies.serde]
default-features = false
features = ["derive", "rc"]
version = "1.0"
[dependencies.static_assertions]
default-features = false
version = "1.1.0"
[dependencies.unroll]
default-features = false
version = "0.1.5"
[dependencies.web-time]
optional = true
version = "1.0.0"
[dev-dependencies.criterion]
default-features = false
version = "0.5.1"
[dev-dependencies.env_logger]
default-features = false
version = "0.9.0"
[dev-dependencies.num_cpus]
default-features = false
version = "1.14.0"
[dev-dependencies.rand]
default-features = false
features = ["getrandom"]
version = "0.8.4"
[dev-dependencies.rand_chacha]
default-features = false
version = "0.3.1"
[dev-dependencies.serde_cbor]
version = "0.11.2"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.structopt]
default-features = false
version = "0.3.26"
[dev-dependencies.tynm]
default-features = false
version = "0.1.6"
[[example]]
name = "bench_recursion"
path = "examples/bench_recursion.rs"
[[example]]
name = "factorial"
path = "examples/factorial.rs"
[[example]]
name = "fibonacci"
path = "examples/fibonacci.rs"
[[example]]
name = "fibonacci_serialization"
path = "examples/fibonacci_serialization.rs"
[[example]]
name = "range_check"
path = "examples/range_check.rs"
[[example]]
name = "square_root"
path = "examples/square_root.rs"
[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"]
[lib]
name = "plonky2"
path = "src/lib.rs"
[lints.clippy]
too_long_first_doc_paragraph = "allow"
[package]
authors = ["Daniel Lubarov <daniel@lubarov.com>", "William Borgeaud <williamborgeaud@gmail.com>", "Nicholas Ward <npward@berkeley.edu>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography"]
description = "Recursive SNARKs based on PLONK and FRI"
edition = "2021"
homepage = "https://github.com/0xPolygonZero/plonky2"
keywords = ["cryptography", "SNARK", "PLONK", "FRI", "plonky2"]
license = "MIT OR Apache-2.0"
name = "plonky2"
readme = "README.md"
repository = "https://github.com/0xPolygonZero/plonky2"
version = "1.0.0"
[package.metadata.docs.rs]
cargo-args = ["--no-deps"]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
default-features = false
features = ["js"]
version = "0.2"
[target.'cfg(not(target_env = "msvc"))'.dev-dependencies.jemallocator]
version = "0.5.0"