srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/platform/Cargo.toml
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2024-12-05 01:28:00 +0200
committersrdusr <[email protected]>2024-12-05 01:28:00 +0200
commit331a1a1d3a0d8dfd4c285b755c2e13785c95ee2a (patch)
treef4fd9d058414cbed8056438aedc4941acecb2745 /crates/platform/Cargo.toml
parent583063c3094ca0cf9f6cceba92d710b238547f6b (diff)
downloadsrdwm-331a1a1d3a0d8dfd4c285b755c2e13785c95ee2a.tar.gz
srdwm-331a1a1d3a0d8dfd4c285b755c2e13785c95ee2a.zip
Accumulate platform/ctl-crate additions: capture workspace, IPC responses, CLI verbs
Bundles related IPC-surface and CLI additions built up over this session: - capture_workspace IPC command + srd capture workspace CLI verb (see the wayland-crate commit for the off-screen render this drives). - Expanded IPC response payloads (monitors, client events, global menu info) and their matching CLI plumbing. Same reasoning as the core-crate sweep commit for why this is coarser than the repo's usual convention: too entangled to split safely without a dedicated review pass.
Diffstat (limited to 'crates/platform/Cargo.toml')
-rw-r--r--crates/platform/Cargo.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/crates/platform/Cargo.toml b/crates/platform/Cargo.toml
index 3408c50..bc7ab77 100644
--- a/crates/platform/Cargo.toml
+++ b/crates/platform/Cargo.toml
@@ -11,6 +11,28 @@ log.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
+# `appmenu_registrar.rs`: owns `com.canonical.AppMenu.Registrar`, the
+# classic Qt/`appmenu-qt5` global-menu D-Bus service every X11-capable
+# backend needs - see that module's doc comment for why it lives here
+# rather than in one specific backend crate. Default features (`async-io` +
+# `blocking-api`) are already the lightest option zbus has - `async-io` is
+# a small reactor, not a full runtime like tokio (which this compositor has
+# no other reason to depend on) - and `blocking-api` is what lets that
+# module drive it from a plain background thread with no `async`/`await`
+# of its own.
+zbus = "5"
+
+# `native_lock_auth.rs`: PAM authentication for srdwm's own session-lock UI
+# (`crates/wayland/src/native_lock.rs`) - Unix-only (PAM itself is a
+# Linux/BSD concept with no Windows/macOS equivalent, and this whole crate
+# is also linked into the Windows/macOS backend crates), so gated the same
+# way `crates/ctl`'s socket code already is rather than pulling libpam into
+# builds that will never call this. `default-features = false`: the `cli`
+# feature (and its `rpassword` dependency) is for reading a password
+# interactively off a terminal, which nothing here needs - the password
+# already comes from srdwm's own lock UI, not a TTY prompt.
+[target.'cfg(unix)'.dependencies]
+pam-client = { version = "0.5", default-features = false }
[dev-dependencies]
tempfile = "3"