From 804b63553c0bf3fa3e5c2f23a5e5f36efec834b4 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Thu, 13 Apr 2023 04:41:57 -0400 Subject: [PATCH] Create `zebra-cli` stub crate (#6484) * Create placeholder crate for zebra-cli * rustdoc stub command * Update Cargo.lock * Make Clippy happy --- Cargo.lock | 4 ++++ Cargo.toml | 1 + zebra-cli/Cargo.toml | 15 +++++++++++++++ zebra-cli/src/main.rs | 4 ++++ 4 files changed, 24 insertions(+) create mode 100644 zebra-cli/Cargo.toml create mode 100644 zebra-cli/src/main.rs diff --git a/Cargo.lock b/Cargo.lock index 7354abed5..f211a9af3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5710,6 +5710,10 @@ dependencies = [ "zebra-test", ] +[[package]] +name = "zebra-cli" +version = "0.0.0-placeholder.0" + [[package]] name = "zebra-client" version = "1.0.0-beta.0" diff --git a/Cargo.toml b/Cargo.toml index 274e71881..ad1dc9646 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = [ "zebrad", "zebra-chain", + "zebra-cli", "zebra-network", "zebra-state", "zebra-script", diff --git a/zebra-cli/Cargo.toml b/zebra-cli/Cargo.toml new file mode 100644 index 000000000..5049ae48c --- /dev/null +++ b/zebra-cli/Cargo.toml @@ -0,0 +1,15 @@ +[package] +# Crate metadata +name = "zebra-cli" +authors = ["Zcash Foundation "] +license = "MIT OR Apache-2.0" +version = "0.0.0-placeholder.0" +repository = "https://github.com/ZcashFoundation/zebra" +description = "A zcash client for zebrad" + +# Settings that impact compilation +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/zebra-cli/src/main.rs b/zebra-cli/src/main.rs new file mode 100644 index 000000000..1c00bbb70 --- /dev/null +++ b/zebra-cli/src/main.rs @@ -0,0 +1,4 @@ +//! A Zebra Zcash node client. + +/// A stub for the main command. +fn main() {}