srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/ctl/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ctl/Cargo.toml')
-rw-r--r--crates/ctl/Cargo.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/crates/ctl/Cargo.toml b/crates/ctl/Cargo.toml
new file mode 100644
index 0000000..bd8f72b
--- /dev/null
+++ b/crates/ctl/Cargo.toml
@@ -0,0 +1,17 @@
+[package]
+name = "srd-cli"
+version.workspace = true
+edition.workspace = true
+license.workspace = true
+description = "Control CLI for srdwm's Wayland backend: query/dispatch over its IPC socket"
+
+[[bin]]
+name = "srd"
+path = "src/main.rs"
+
+[target.'cfg(unix)'.dependencies]
+# Only for `detect()`, so this CLI picks the same WAYLAND_DISPLAY-vs-DISPLAY
+# socket-naming key the compositor itself just used to decide which backend
+# to run - see `socket_path()`'s doc comment. Deliberately still no JSON
+# dependency of its own; that stays server-side.
+srdwm-platform.workspace = true