From 943d213490efd32d4b1aa42d174d2ad9aba8e875 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 19 May 2023 14:45:54 +1000 Subject: [PATCH] Temporarily delete unused zebra-cli and zebra-client crates (#6726) --- Cargo.lock | 8 -------- Cargo.toml | 2 -- book/src/dev/overview.md | 4 ---- zebra-cli/Cargo.toml | 15 --------------- zebra-cli/src/main.rs | 4 ---- zebra-client/Cargo.toml | 10 ---------- zebra-client/src/lib.rs | 5 ----- 7 files changed, 48 deletions(-) delete mode 100644 zebra-cli/Cargo.toml delete mode 100644 zebra-cli/src/main.rs delete mode 100644 zebra-client/Cargo.toml delete mode 100644 zebra-client/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index d41adc81..acf7fedb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5787,14 +5787,6 @@ dependencies = [ "zebra-test", ] -[[package]] -name = "zebra-cli" -version = "0.0.0-placeholder.0" - -[[package]] -name = "zebra-client" -version = "1.0.0-beta.0" - [[package]] name = "zebra-consensus" version = "1.0.0-beta.24" diff --git a/Cargo.toml b/Cargo.toml index ad1dc964..48ded270 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,13 +2,11 @@ members = [ "zebrad", "zebra-chain", - "zebra-cli", "zebra-network", "zebra-state", "zebra-script", "zebra-consensus", "zebra-rpc", - "zebra-client", "zebra-node-services", "zebra-test", "zebra-utils", diff --git a/book/src/dev/overview.md b/book/src/dev/overview.md index f224b1a9..7117f936 100644 --- a/book/src/dev/overview.md +++ b/book/src/dev/overview.md @@ -139,10 +139,6 @@ into several components: node, which connects these components together and implements logic to handle inbound requests from peers and the chain sync process. -- `zebra-rpc` and `zebra-client` will eventually contain the RPC and wallet - functionality, but as mentioned above, our goal is to implement replication - of chain state first before asking users to entrust Zebra with their funds. - All of these components can be reused as independent libraries, and all communication between stateful components is handled internally by [internal asynchronous RPC abstraction](https://docs.rs/tower/) diff --git a/zebra-cli/Cargo.toml b/zebra-cli/Cargo.toml deleted file mode 100644 index 5049ae48..00000000 --- a/zebra-cli/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[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 deleted file mode 100644 index 1c00bbb7..00000000 --- a/zebra-cli/src/main.rs +++ /dev/null @@ -1,4 +0,0 @@ -//! A Zebra Zcash node client. - -/// A stub for the main command. -fn main() {} diff --git a/zebra-client/Cargo.toml b/zebra-client/Cargo.toml deleted file mode 100644 index f942ba1c..00000000 --- a/zebra-client/Cargo.toml +++ /dev/null @@ -1,10 +0,0 @@ -[package] -name = "zebra-client" -version = "1.0.0-beta.0" -authors = ["Zcash Foundation "] -license = "MIT OR Apache-2.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] diff --git a/zebra-client/src/lib.rs b/zebra-client/src/lib.rs deleted file mode 100644 index 6ecb2043..00000000 --- a/zebra-client/src/lib.rs +++ /dev/null @@ -1,5 +0,0 @@ -//! A Zebra wallet client - -#![doc(html_favicon_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-favicon-128.png")] -#![doc(html_logo_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-icon.png")] -#![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_client")]