chore: rm unused crate (#1114)

This commit is contained in:
Matthias Seitz
2023-02-01 13:33:54 +01:00
committed by GitHub
parent 28cb91c6b4
commit b178631bc1
4 changed files with 2 additions and 33 deletions

11
Cargo.lock generated
View File

@ -4044,21 +4044,10 @@ dependencies = [
name = "reth-consensus"
version = "0.1.0"
dependencies = [
"assert_matches",
"async-trait",
"auto_impl 1.0.1",
"bytes",
"futures",
"reth-executor",
"reth-interfaces",
"reth-primitives",
"reth-provider",
"reth-rlp",
"reth-rpc-types",
"serde",
"thiserror",
"tokio",
"tokio-stream",
]
[[package]]

View File

@ -16,7 +16,7 @@ reth-staged-sync = { path = "../../crates/staged-sync" }
reth-stages = { path = "../../crates/stages"}
reth-interfaces = { path = "../../crates/interfaces", features = ["test-utils"] }
reth-transaction-pool = { path = "../../crates/transaction-pool" }
reth-consensus = { path = "../../crates/consensus", features = ["serde"] }
reth-consensus = { path = "../../crates/consensus" }
reth-executor = { path = "../../crates/executor" }
# reth-rpc = {path = "../../crates/net/rpc"}
reth-rlp = { path = "../../crates/common/rlp" }

View File

@ -11,26 +11,10 @@ readme = "README.md"
reth-primitives = { path = "../primitives" }
reth-interfaces = { path = "../interfaces" }
reth-provider = { path = "../storage/provider" }
reth-rlp = { path = "../common/rlp" }
reth-rpc-types = { path = "../net/rpc-types" }
reth-executor = { path = "../executor" }
# async
futures = "0.3"
async-trait = "0.1.57"
tokio = { version = "1", features = ["sync"] }
tokio-stream = "0.1"
# misc
thiserror = "1.0.37"
auto_impl = "1.0"
serde = { version = "1.0", optional = true }
[dev-dependencies]
reth-interfaces = { path = "../interfaces", features = ["test-utils"] }
reth-provider = { path = "../storage/provider", features = ["test-utils"] }
assert_matches = "1.5.0"
bytes = "1.2"
[features]
serde = ["dep:serde"]

View File

@ -1,14 +1,10 @@
#![warn(missing_docs, unreachable_pub)]
#![warn(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))
))]
//! Consensus algorithms for Ethereum.
//!
//! # Features
//!
//! - `serde`: Enable serde support for configuration types.
/// Beacon consensus implementation.
pub mod beacon;