From 3bbc125087328906a8ccac099f801c542ecf0342 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 23 Jun 2024 14:00:47 +0200 Subject: [PATCH 1/2] chore: add empty commands crate --- 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 1c1a59fd1fc5..beea05575b38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6482,6 +6482,10 @@ dependencies = [ "serde_json", ] +[[package]] +name = "reth-cli-commands" +version = "1.0.0-rc.2" + [[package]] name = "reth-cli-runner" version = "1.0.0-rc.2" diff --git a/Cargo.toml b/Cargo.toml index 7c996352238b..b315007db2fc 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/", @@ -249,6 +250,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))] From 1674881bb3d6606d2b63d8c9db2b252c1ce6f69c Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 24 Jun 2024 23:50:58 +0200 Subject: [PATCH 2/2] lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 4c9892b3f74f..7d76d53b80a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6695,7 +6695,7 @@ dependencies = [ [[package]] name = "reth-cli-commands" -version = "1.0.0-rc.2" +version = "1.0.0" [[package]] name = "reth-cli-runner"