mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(rpc): cleanup rpc-layer (#8274)
This commit is contained in:
@ -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"] }
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user