[package]
edition = "2024"
name = "p3-commit"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework for implementing various cryptographic commitment schemes, including non-hiding variants."
homepage = "https://github.com/Plonky3/Plonky3"
readme = false
keywords = [
"cryptography",
"SNARK",
"PLONK",
"FRI",
"plonky3",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Plonky3/Plonky3"
resolver = "2"
[features]
default = ["test-utils"]
test-utils = [
"p3-challenger",
"p3-dft",
]
[lib]
name = "p3_commit"
path = "src/lib.rs"
[dependencies.itertools]
version = "0.14.0"
features = ["use_alloc"]
default-features = false
[dependencies.p3-challenger]
version = "0.5.0"
optional = true
[dependencies.p3-dft]
version = "0.5.0"
optional = true
[dependencies.p3-field]
version = "0.5.0"
[dependencies.p3-matrix]
version = "0.5.0"
[dependencies.p3-util]
version = "0.5.0"
[dependencies.serde]
version = "1.0"
default-features = false
[dev-dependencies]
[lints.clippy]
cognitive_complexity = "allow"
match_bool = "warn"
needless_pass_by_value = "warn"
redundant_pub_crate = "allow"
semicolon_if_nothing_returned = "warn"
too_long_first_doc_paragraph = "allow"
transmute_undefined_repr = "allow"
tuple_array_conversions = "allow"
unused_peekable = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.rust]
rust_2024_incompatible_pat = "warn"
unused_must_use = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rustdoc]
all = "warn"