Skip to content

Commit 2d02218

Browse files
authored
Update Cargo.toml
1 parent 3da2f6e commit 2d02218

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "hackeros-comp"
33
version = "0.1.0"
44
edition = "2021"
5-
description = "Blue Environment — Production Wayland Compositor (Smithay)"
5+
description = "HackerOS Compositor — Production Wayland Compositor (Smithay)"
66

77
[[bin]]
88
name = "hackeros-comp"
@@ -34,6 +34,18 @@ path = "src/main.rs"
3434
# `wayland-server` 0.31.14 itself depends on (checked its Cargo.toml)
3535
# so cargo doesn't have to unify two different semver-compatible ranges.
3636
[dependencies]
37+
# D-Bus portal backend (org.freedesktop.impl.portal.RemoteDesktop) — see
38+
# src/portal/mod.rs's module doc for full scope/caveats. `zbus` is the
39+
# standard pure-Rust D-Bus library (no libdbus C dependency, matching
40+
# this project's general preference for pure-Rust deps where reasonable
41+
# — see e.g. `reis` for EIS, same reasoning). `tokio` feature: zbus 4's
42+
# async runtime integration needs an explicit executor choice; this
43+
# project doesn't otherwise use tokio (its event loop is calloop), so
44+
# zbus's connection is driven from a dedicated OS thread with its own
45+
# small tokio runtime rather than trying to integrate zbus's async
46+
# machinery directly into the calloop loop — see that module for how.
47+
zbus = { version = "4", default-features = false, features = ["tokio"] }
48+
tokio = { version = "1", features = ["rt", "net", "time"] }
3749
wayland-scanner = "0.31"
3850
wayland-backend = "0.3"
3951
# EIS/libei input-emulation server — see src/input_emulation/mod.rs's

0 commit comments

Comments
 (0)