chore(deps): cleanup reth-interfaces deps (#5848)

This commit is contained in:
Matthias Seitz
2023-12-22 11:02:44 +01:00
committed by GitHub
parent f96dc7e578
commit f3aa296ef7
4 changed files with 14 additions and 24 deletions

View File

@@ -9,7 +9,13 @@
html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![warn(missing_debug_implementations, missing_docs, unreachable_pub, rustdoc::all)]
#![warn(
missing_debug_implementations,
missing_docs,
unused_crate_dependencies,
unreachable_pub,
rustdoc::all
)]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

View File

@@ -36,7 +36,7 @@ impl<Client> FullBlockClient<Client> {
}
/// Returns a client with Test consensus
#[cfg(feature = "test-utils")]
#[cfg(any(test, feature = "test-utils"))]
pub fn test_client(client: Client) -> Self {
Self::new(client, Arc::new(crate::test_utils::TestConsensus::default()))
}