mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat(rpc): add rpc crates
This commit is contained in:
18
crates/rpc-types/Cargo.toml
Normal file
18
crates/rpc-types/Cargo.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "reth-rpc-types"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/foundry-rs/reth"
|
||||
readme = "README.md"
|
||||
description = """
|
||||
Reth RPC types
|
||||
"""
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives = { path = "../primitives" }
|
||||
|
||||
# misc
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
thiserror = "1.0"
|
||||
1
crates/rpc-types/src/eth/mod.rs
Normal file
1
crates/rpc-types/src/eth/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
//! Ethereum related types
|
||||
12
crates/rpc-types/src/lib.rs
Normal file
12
crates/rpc-types/src/lib.rs
Normal file
@ -0,0 +1,12 @@
|
||||
#![warn(missing_debug_implementations, missing_docs, unreachable_pub, unused_crate_dependencies)]
|
||||
#![deny(unused_must_use, rust_2018_idioms)]
|
||||
#![doc(test(
|
||||
no_crate_inject,
|
||||
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
||||
))]
|
||||
|
||||
//! Reth RPC type definitions
|
||||
//!
|
||||
//! Provides all relevant types for the various RPC endpoints, grouped by namespace.
|
||||
|
||||
mod eth;
|
||||
Reference in New Issue
Block a user