chore: fix cargo feature warning (#11900)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
alpharush
2024-10-22 17:34:09 -05:00
committed by GitHub
parent 527d344dda
commit d68dca1a26
3 changed files with 8 additions and 3 deletions

View File

@ -101,7 +101,7 @@ tempfile.workspace = true
[features] [features]
default = ["jemalloc"] default = ["jemalloc"]
dev = ["reth-cli-commands/dev"] dev = ["reth-cli-commands/arbitrary"]
asm-keccak = [ asm-keccak = [
"reth-node-core/asm-keccak", "reth-node-core/asm-keccak",

View File

@ -88,10 +88,15 @@ reth-discv4.workspace = true
[features] [features]
default = [] default = []
dev = [ arbitrary = [
"dep:proptest", "dep:proptest",
"dep:arbitrary", "dep:arbitrary",
"dep:proptest-arbitrary-interop", "dep:proptest-arbitrary-interop",
"reth-primitives/arbitrary", "reth-primitives/arbitrary",
"reth-db-api/arbitrary", "reth-db-api/arbitrary",
"reth-eth-wire/arbitrary",
"reth-db/arbitrary",
"reth-chainspec/arbitrary",
"alloy-eips/arbitrary",
"alloy-primitives/arbitrary",
] ]

View File

@ -20,7 +20,7 @@ pub mod p2p;
pub mod prune; pub mod prune;
pub mod recover; pub mod recover;
pub mod stage; pub mod stage;
#[cfg(feature = "dev")] #[cfg(feature = "arbitrary")]
pub mod test_vectors; pub mod test_vectors;
pub use node::NodeCommand; pub use node::NodeCommand;