From 78d4f8c4bd53d32c62e452c77a509b15ced1fb8a Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 3 Jul 2024 17:08:07 +0200 Subject: [PATCH] feat: add empty ethereum cli crate (#9268) --- Cargo.lock | 4 ++++ Cargo.toml | 2 ++ crates/ethereum/cli/Cargo.toml | 10 ++++++++++ crates/ethereum/cli/src/lib.rs | 9 +++++++++ 4 files changed, 25 insertions(+) create mode 100644 crates/ethereum/cli/Cargo.toml create mode 100644 crates/ethereum/cli/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 277cbf904..ee2c03566 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7117,6 +7117,10 @@ dependencies = [ "thiserror", ] +[[package]] +name = "reth-ethereum-cli" +version = "1.0.0" + [[package]] name = "reth-ethereum-consensus" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index 417fe3ef8..ceb9c9532 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,7 @@ members = [ "crates/engine/util/", "crates/errors/", "crates/ethereum-forks/", + "crates/ethereum/cli/", "crates/ethereum/consensus/", "crates/ethereum/engine/", "crates/ethereum/engine-primitives/", @@ -295,6 +296,7 @@ reth-engine-util = { path = "crates/engine/util" } reth-errors = { path = "crates/errors" } reth-eth-wire = { path = "crates/net/eth-wire" } reth-eth-wire-types = { path = "crates/net/eth-wire-types" } +reth-ethereum-cli = { path = "crates/ethereum/cli" } reth-ethereum-consensus = { path = "crates/ethereum/consensus" } reth-ethereum-engine-primitives = { path = "crates/ethereum/engine-primitives" } reth-ethereum-forks = { path = "crates/ethereum-forks" } diff --git a/crates/ethereum/cli/Cargo.toml b/crates/ethereum/cli/Cargo.toml new file mode 100644 index 000000000..18b5f9a47 --- /dev/null +++ b/crates/ethereum/cli/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "reth-ethereum-cli" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true + +[lints] diff --git a/crates/ethereum/cli/src/lib.rs b/crates/ethereum/cli/src/lib.rs new file mode 100644 index 000000000..c55b2ab38 --- /dev/null +++ b/crates/ethereum/cli/src/lib.rs @@ -0,0 +1,9 @@ +//! Reth CLI implementation. + +#![doc( + html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", + html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", + issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" +)] +#![cfg_attr(not(test), warn(unused_crate_dependencies))] +#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]