clippy: rm outdated clippy allow (#9070)

This commit is contained in:
Thomas Coratger
2024-06-25 11:17:32 +02:00
committed by GitHub
parent de6332b51e
commit c885257e52
14 changed files with 29 additions and 44 deletions

45
Cargo.lock generated
View File

@ -134,7 +134,7 @@ dependencies = [
"arbitrary",
"c-kzg",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"serde",
]
@ -170,7 +170,7 @@ dependencies = [
"derive_more",
"once_cell",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"serde",
"sha2 0.10.8",
]
@ -267,7 +267,7 @@ dependencies = [
"k256",
"keccak-asm",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"rand 0.8.5",
"ruint",
"serde",
@ -459,7 +459,7 @@ dependencies = [
"itertools 0.13.0",
"jsonrpsee-types",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"serde",
"serde_json",
"thiserror",
@ -500,7 +500,7 @@ dependencies = [
"alloy-primitives",
"arbitrary",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"serde",
"serde_json",
]
@ -693,7 +693,7 @@ dependencies = [
"hashbrown 0.14.5",
"nybbles",
"proptest",
"proptest-derive",
"proptest-derive 0.4.0",
"serde",
"smallvec",
"tracing",
@ -5959,6 +5959,17 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "proptest-derive"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ff7ff745a347b87471d859a377a9a404361e7efc2a971d73424a6d183c0fc77"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.67",
]
[[package]]
name = "prost"
version = "0.12.6"
@ -6719,7 +6730,7 @@ dependencies = [
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"reth-codecs-derive",
"serde",
"serde_json",
@ -6849,7 +6860,7 @@ dependencies = [
"pprof",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"reth-codecs",
"reth-primitives",
@ -7096,7 +7107,7 @@ dependencies = [
"pin-project",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"reth-chainspec",
"reth-codecs",
@ -7129,7 +7140,7 @@ dependencies = [
"derive_more",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"reth-chainspec",
"reth-codecs-derive",
@ -7176,7 +7187,7 @@ dependencies = [
"arbitrary",
"crc",
"proptest",
"proptest-derive",
"proptest-derive 0.5.0",
"serde",
"thiserror-no-std",
]
@ -7912,7 +7923,7 @@ dependencies = [
"pprof",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"rayon",
"reth-chainspec",
@ -7951,7 +7962,7 @@ dependencies = [
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"reth-codecs",
"revm-primitives",
@ -8044,7 +8055,7 @@ dependencies = [
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"reth-codecs",
"serde",
"serde_json",
@ -8277,7 +8288,7 @@ dependencies = [
"bytes",
"jsonrpsee-types",
"proptest",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"serde",
"serde_json",
@ -8380,7 +8391,7 @@ dependencies = [
"modular-bitfield",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"rand 0.8.5",
"reth-codecs",
"reth-trie-common",
@ -8587,7 +8598,7 @@ dependencies = [
"plain_hasher",
"proptest",
"proptest-arbitrary-interop",
"proptest-derive",
"proptest-derive 0.5.0",
"reth-codecs",
"reth-primitives-traits",
"revm-primitives",

View File

@ -501,7 +501,7 @@ tempfile = "3.8"
criterion = "0.5"
pprof = "0.13"
proptest = "1.4"
proptest-derive = "0.4"
proptest-derive = "0.5"
serial_test = "3"
similar-asserts = "1.5.0"
test-fuzz = "5"

View File

@ -12,8 +12,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]

View File

@ -6,8 +6,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![allow(clippy::needless_lifetimes)] // side effect of optimism fields
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

View File

@ -11,8 +11,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
pub mod capability;

View File

@ -1,8 +1,5 @@
//! Round-trip encoding fuzzing for the `eth-wire` crate.
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
use alloy_rlp::{Decodable, Encodable};
use serde::Serialize;
use std::fmt::Debug;

View File

@ -6,8 +6,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]

View File

@ -14,8 +14,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]

View File

@ -6,8 +6,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
mod checkpoint;

View File

@ -6,8 +6,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
mod id;

View File

@ -14,8 +14,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]

View File

@ -58,8 +58,6 @@
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
/// Common types used throughout the abstraction.
pub mod common;

View File

@ -11,9 +11,6 @@
//!
//! TODO(onbjerg): Find appropriate format for this...
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
pub mod codecs;
mod raw;

View File

@ -6,8 +6,6 @@
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged
#![allow(unknown_lints, non_local_definitions)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
/// The implementation of hash builder.