diff --git a/Cargo.toml b/Cargo.toml index 111ec8569..cd48fcca2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -136,3 +136,7 @@ proc-macro2 = "1.0" quote = "1.0" syn = "2.0" trybuild = "1.0" + +[workspace.lints.clippy] +too_long_first_doc_paragraph = "allow" + diff --git a/evm_arithmetization/Cargo.toml b/evm_arithmetization/Cargo.toml index d69f2a140..62133a099 100644 --- a/evm_arithmetization/Cargo.toml +++ b/evm_arithmetization/Cargo.toml @@ -81,3 +81,7 @@ harness = false # Display math equations properly in documentation [package.metadata.docs.rs] rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"] + + +[lints] +workspace = true diff --git a/mpt_trie/Cargo.toml b/mpt_trie/Cargo.toml index 84bd01b4f..732a07377 100644 --- a/mpt_trie/Cargo.toml +++ b/mpt_trie/Cargo.toml @@ -50,3 +50,6 @@ doc-scrape-examples = true [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] + +[lints] +workspace = true diff --git a/proof_gen/Cargo.toml b/proof_gen/Cargo.toml index 07ac0fb9a..87e31d9e8 100644 --- a/proof_gen/Cargo.toml +++ b/proof_gen/Cargo.toml @@ -18,3 +18,6 @@ hashbrown = { workspace = true } # Local dependencies evm_arithmetization = { workspace = true } + +[lints] +workspace = true diff --git a/smt_trie/Cargo.toml b/smt_trie/Cargo.toml index d87658c3d..08a05a0fb 100644 --- a/smt_trie/Cargo.toml +++ b/smt_trie/Cargo.toml @@ -19,3 +19,6 @@ hex-literal = { workspace = true } plonky2 = { workspace = true } rand = { workspace = true } serde = { workspace = true, features = ["derive", "rc"] } + +[lints] +workspace = true diff --git a/zero_bin/common/Cargo.toml b/zero_bin/common/Cargo.toml index 2ae22f2e3..bfad3e2a8 100644 --- a/zero_bin/common/Cargo.toml +++ b/zero_bin/common/Cargo.toml @@ -33,3 +33,6 @@ once_cell = { workspace = true } cargo_metadata = { workspace = true } vergen = { workspace = true } anyhow = { workspace = true } + +[lints] +workspace = true diff --git a/zero_bin/leader/Cargo.toml b/zero_bin/leader/Cargo.toml index 7f3655961..73a1ef4e9 100644 --- a/zero_bin/leader/Cargo.toml +++ b/zero_bin/leader/Cargo.toml @@ -39,3 +39,6 @@ default = [] cargo_metadata = { workspace = true } vergen = { workspace = true } anyhow = { workspace = true } + +[lints] +workspace = true diff --git a/zero_bin/prover/Cargo.toml b/zero_bin/prover/Cargo.toml index 9f2050746..d0d3ee4b3 100644 --- a/zero_bin/prover/Cargo.toml +++ b/zero_bin/prover/Cargo.toml @@ -30,3 +30,6 @@ clap = {workspace = true} [features] default = [] + +[lints] +workspace = true