From 6bb341a1696a271f6df50ffc36c374eddedbf813 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 19 Mar 2023 14:36:20 +0100 Subject: [PATCH] chore(deps): rm some rlp deps (#1839) --- Cargo.lock | 2 -- crates/rlp/Cargo.toml | 4 ---- crates/rlp/rlp-derive/src/lib.rs | 2 +- crates/rlp/src/lib.rs | 6 ++++++ 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eeaf10f81d..bbd333abd0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5101,11 +5101,9 @@ dependencies = [ "ethnum", "hex-literal", "pprof", - "rand 0.8.5", "reth-rlp", "reth-rlp-derive", "revm-primitives", - "secp256k1", "smol_str", ] diff --git a/crates/rlp/Cargo.toml b/crates/rlp/Cargo.toml index 3ea858ae06..606d74b033 100644 --- a/crates/rlp/Cargo.toml +++ b/crates/rlp/Cargo.toml @@ -26,10 +26,6 @@ reth-rlp = { path = ".", package = "reth-rlp", features = [ ] } criterion = "0.4.0" hex-literal = "0.3" -rand = "0.8" -secp256k1 = { version = "0.26.0", features = [ - "rand-std", -] } pprof = { version = "0.11", features = ["flamegraph", "frame-pointer", "criterion"] } [features] diff --git a/crates/rlp/rlp-derive/src/lib.rs b/crates/rlp/rlp-derive/src/lib.rs index 24737a8ae7..a23fe79c1d 100644 --- a/crates/rlp/rlp-derive/src/lib.rs +++ b/crates/rlp/rlp-derive/src/lib.rs @@ -1,5 +1,5 @@ #![warn(missing_docs, unreachable_pub)] -#![deny(unused_must_use)] +#![deny(unused_must_use, unused_crate_dependencies)] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) diff --git a/crates/rlp/src/lib.rs b/crates/rlp/src/lib.rs index 9055fc6e46..c4671f55bf 100644 --- a/crates/rlp/src/lib.rs +++ b/crates/rlp/src/lib.rs @@ -1,3 +1,9 @@ +#![warn(unreachable_pub)] +#![deny(unused_must_use)] +#![doc(test( + no_crate_inject, + attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) +))] #![cfg_attr(not(feature = "std"), no_std)] #[cfg(feature = "alloc")]