From 5585cb8cfac1faa8808fb54bf61644a1db515b10 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 25 Jun 2024 00:03:19 +0200 Subject: [PATCH] chore: add empty commands crate (#9039) --- Cargo.lock | 4 ++++ Cargo.toml | 2 ++ crates/cli/commands/Cargo.toml | 10 ++++++++++ crates/cli/commands/src/lib.rs | 9 +++++++++ 4 files changed, 25 insertions(+) create mode 100644 crates/cli/commands/Cargo.toml create mode 100644 crates/cli/commands/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 4e26b254f381..7d76d53b80a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6693,6 +6693,10 @@ dependencies = [ "serde_json", ] +[[package]] +name = "reth-cli-commands" +version = "1.0.0" + [[package]] name = "reth-cli-runner" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index 6724c5318889..ab99f90800ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ members = [ "crates/blockchain-tree/", "crates/blockchain-tree-api/", "crates/chainspec/", + "crates/cli/commands/", "crates/cli/runner/", "crates/config/", "crates/consensus/auto-seal/", @@ -253,6 +254,7 @@ reth-beacon-consensus = { path = "crates/consensus/beacon" } reth-blockchain-tree = { path = "crates/blockchain-tree" } reth-blockchain-tree-api = { path = "crates/blockchain-tree-api" } reth-chainspec = { path = "crates/chainspec" } +reth-cli-commands = { path = "crates/cli/commands" } reth-cli-runner = { path = "crates/cli/runner" } reth-codecs = { path = "crates/storage/codecs" } reth-codecs-derive = { path = "crates/storage/codecs/derive" } diff --git a/crates/cli/commands/Cargo.toml b/crates/cli/commands/Cargo.toml new file mode 100644 index 000000000000..d12abefcd8b0 --- /dev/null +++ b/crates/cli/commands/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "reth-cli-commands" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true + +[lints] diff --git a/crates/cli/commands/src/lib.rs b/crates/cli/commands/src/lib.rs new file mode 100644 index 000000000000..33983bb856db --- /dev/null +++ b/crates/cli/commands/src/lib.rs @@ -0,0 +1,9 @@ +//! Commonly used reth CLI commands. + +#![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))]