mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
78 lines
2.6 KiB
TOML
78 lines
2.6 KiB
TOML
[package]
|
|
name = "plonky2"
|
|
description = "Recursive SNARKs based on PLONK and FRI"
|
|
version = "0.1.0"
|
|
authors = ["Polygon Zero <daniel@mirprotocol.org>"]
|
|
readme = "README.md"
|
|
repository = "https://github.com/mir-protocol/plonky2"
|
|
keywords = ["cryptography", "SNARK", "PLONK", "FRI"]
|
|
categories = ["cryptography"]
|
|
edition = "2021"
|
|
default-run = "generate_constants"
|
|
|
|
[features]
|
|
default = ["gate_testing", "parallel", "rand_chacha", "std", "timing"]
|
|
gate_testing = []
|
|
parallel = ["hashbrown/rayon", "maybe_rayon/parallel"]
|
|
std = ["anyhow/std", "rand/std"]
|
|
timing = ["std"]
|
|
|
|
[dependencies]
|
|
ahash = { version = "0.7.6", default-features = false, features = ["compile-time-rng"] } # NOTE: Be sure to keep this version the same as the dependency in `hashbrown`.
|
|
anyhow = { version = "1.0.40", default-features = false }
|
|
hashbrown = { version = "0.12.3", default-features = false, features = ["ahash", "serde"] } # NOTE: When upgrading, see `ahash` dependency.
|
|
itertools = { version = "0.10.0", default-features = false }
|
|
keccak-hash = { version = "0.8.0", default-features = false }
|
|
log = { version = "0.4.14", default-features = false }
|
|
maybe_rayon = { path = "../maybe_rayon", default-features = false }
|
|
num = { version = "0.4", default-features = false, features = ["rand"] }
|
|
plonky2_field = { path = "../field", default-features = false }
|
|
plonky2_util = { path = "../util", default-features = false }
|
|
rand = { version = "0.8.4", default-features = false }
|
|
rand_chacha = { version = "0.3.1", optional = true, default-features = false }
|
|
serde = { version = "1.0", default-features = false, features = ["derive"] }
|
|
static_assertions = { version = "1.1.0", default-features = false }
|
|
unroll = { version = "0.1.5", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.4.0", default-features = false }
|
|
env_logger = { version = "0.9.0", default-features = false }
|
|
num_cpus = { version = "1.14.0", default-features = false }
|
|
plonky2 = { path = "." }
|
|
rand = { version = "0.8.4", default-features = false, features = ["getrandom"] }
|
|
rand_chacha = { version = "0.3.1", default-features = false }
|
|
serde_cbor = { version = "0.11.2" }
|
|
structopt = { version = "0.3.26", default-features = false }
|
|
tynm = { version = "0.1.6", default-features = false }
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dev-dependencies]
|
|
jemallocator = "0.3.2"
|
|
|
|
[[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
|