feat(rpc): add rpc crates

This commit is contained in:
Matthias Seitz
2022-09-30 20:16:21 +02:00
parent 6ff7cf5a74
commit 2717dd643a
15 changed files with 899 additions and 7 deletions

View 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"

View File

@ -0,0 +1 @@
//! Ethereum related types

View 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;