chore(rpc): cleanup rpc-layer (#8274)

This commit is contained in:
Matthias Seitz
2024-05-15 14:15:33 +02:00
committed by GitHub
parent 79d505adb2
commit f0681947db
2 changed files with 13 additions and 13 deletions

View File

@ -6,24 +6,28 @@ rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[lints]
workspace = true
[dependencies]
reth-primitives.workspace = true
http.workspace = true
hyper.workspace = true
tower.workspace = true
http-body.workspace = true
pin-project.workspace = true
tokio.workspace = true
jsonrpsee.workspace = true
jsonwebtoken = "8"
rand.workspace = true
reth-primitives.workspace = true
serde.workspace = true
thiserror.workspace = true
tempfile.workspace = true
assert_matches.workspace = true
tracing.workspace = true
[lints]
workspace = true
[dev-dependencies]
hyper = { workspace = true, features = ["client", "tcp"] }
assert_matches.workspace = true
tokio = { workspace = true, features = ["macros"] }
tempfile.workspace = true
jsonrpsee = { workspace = true, features = ["server"] }

View File

@ -1,4 +1,4 @@
//! Reth RPC testing utilities.
//! Layer implementations used in RPC
#![doc(
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
@ -8,11 +8,7 @@
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
use assert_matches as _;
use http::{HeaderMap, Response};
use jsonrpsee as _;
use tempfile as _;
use tokio as _;
mod auth_client_layer;
mod auth_layer;