mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore(deps): cleanup reth-interfaces deps (#5848)
This commit is contained in:
@@ -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))]
|
||||
|
||||
|
||||
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user