Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

chore: remove unused `cli` and `ipc-client` packages

Lars Berger9bb80560802c
diff --git a/Cargo.lock b/Cargo.lock
index a2322c40..b9492277 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -183,16 +183,6 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
-[[package]]
-name = "cli"
-version = "0.0.0"
-dependencies = [
- "anyhow",
- "ipc-client",
- "tokio",
- "wm",
-]
-
[[package]]
name = "colorchoice"
version = "1.0.0"
@@ -414,13 +404,6 @@ dependencies = [
"hashbrown",
]
-[[package]]
-name = "ipc-client"
-version = "0.0.0"
-dependencies = [
- "anyhow",
-]
-
[[package]]
name = "itoa"
version = "1.0.10"
diff --git a/packages/cli/Cargo.toml b/packages/cli/Cargo.toml
deleted file mode 100644
index c67e196e..00000000
--- a/packages/cli/Cargo.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-[package]
-name = "cli"
-version = "0.0.0"
-edition = "2021"
-
-[dependencies]
-ipc-client = { path = "../ipc-client" }
-wm = { path = "../wm" }
-
-anyhow = { workspace = true }
-tokio = { workspace = true }
diff --git a/packages/cli/src/main.rs b/packages/cli/src/main.rs
deleted file mode 100644
index 28677848..00000000
--- a/packages/cli/src/main.rs
+++ /dev/null
@@ -1,29 +0,0 @@
-// #[derive(Parser, Debug)]
-// #[clap(author, version, about, long_about = None, arg_required_else_help = true)]
-// pub struct Cli {
-// #[command(subcommand)]
-// pub message: WmMessage,
-// }
-
-#[tokio::main]
-async fn main() {
- // let cli = Cli::parse();
-
- // match cli.message {
- // WmMessage::Start { config_path } => {
- // let wm_path = env::var_os("CARGO_BIN_FILE_WM")
- // .context("Failed to resolve path to the WM process.")?;
-
- // Command::new(wm_path)
- // }
- // _ => {
- // let args = std::env::args_os();
- // IpcClient::connect()
- // .await
- // .unwrap()
- // .send_raw(args)
- // .await
- // .unwrap()
- // }
- // }
-}
diff --git a/packages/ipc-client/Cargo.toml b/packages/ipc-client/Cargo.toml
deleted file mode 100644
index fb0c5a79..00000000
--- a/packages/ipc-client/Cargo.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[package]
-name = "ipc-client"
-version = "0.0.0"
-edition = "2021"
-
-[dependencies]
-anyhow = "1"
diff --git a/packages/ipc-client/src/lib.rs b/packages/ipc-client/src/lib.rs
deleted file mode 100644
index 8ed0d3fa..00000000
--- a/packages/ipc-client/src/lib.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use std::env::ArgsOs;
-
-use anyhow::Result;
-
-pub const DEFAULT_IPC_ADDR: &'static str = "127.0.0.1:6123";
-
-pub struct IpcClient {}
-
-impl IpcClient {
- pub async fn connect() -> Result<Self> {
- todo!()
- }
-
- pub async fn send_raw(&self, _message: ArgsOs) -> Result<()> {
- todo!()
- }
-}