2022-06-22 12:22:30 -04:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-session"
|
|
|
|
|
description = "The session manager for the COSMIC desktop environment"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
license = "GPL-3.0-only"
|
2025-08-28 01:13:23 +02:00
|
|
|
edition = "2024"
|
2025-08-28 01:55:51 +02:00
|
|
|
rust-version = "1.85"
|
2022-06-22 12:22:30 -04:00
|
|
|
authors = ["Lucy <lucy@system76.com>"]
|
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2025-03-22 18:35:50 +08:00
|
|
|
async-signals = "0.5"
|
2022-06-22 14:09:59 -04:00
|
|
|
color-eyre = "0.6"
|
2022-06-27 14:17:31 -04:00
|
|
|
futures-util = "0.3"
|
2024-11-01 08:30:48 -04:00
|
|
|
cosmic-dbus-a11y = { git = "https://github.com/pop-os/dbus-settings-bindings" }
|
2025-08-28 01:55:51 +02:00
|
|
|
freedesktop-desktop-entry = { version = "0.7.14", optional = true }
|
2025-02-21 20:02:20 +00:00
|
|
|
shell-words = { version = "1.1.0", optional = true }
|
|
|
|
|
dirs = { version = "6.0.0", optional = true }
|
2025-08-28 01:55:51 +02:00
|
|
|
itertools = "0.14"
|
2024-11-22 10:40:26 -05:00
|
|
|
launch-pad = { git = "https://github.com/pop-os/launch-pad" }
|
2022-06-24 11:43:48 -04:00
|
|
|
libc = "0.2"
|
2023-01-13 11:55:55 -08:00
|
|
|
log-panics = { version = "2", features = ["with-backtrace"] }
|
2025-08-28 01:55:51 +02:00
|
|
|
rustix = "1.0"
|
2022-07-22 11:48:03 -04:00
|
|
|
scopeguard = "1"
|
2022-07-07 16:45:17 -04:00
|
|
|
sendfd = { version = "0.4", features = ["tokio"] }
|
2022-06-27 14:17:31 -04:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
2023-06-29 16:39:24 -04:00
|
|
|
tokio = { version = "1", features = [
|
2025-08-28 01:13:23 +02:00
|
|
|
"fs",
|
|
|
|
|
"io-util",
|
|
|
|
|
"io-std",
|
|
|
|
|
"macros",
|
|
|
|
|
"net",
|
|
|
|
|
"parking_lot",
|
|
|
|
|
"process",
|
|
|
|
|
"rt",
|
|
|
|
|
"signal",
|
|
|
|
|
"sync",
|
|
|
|
|
"time",
|
2023-06-29 16:39:24 -04:00
|
|
|
] }
|
2025-06-13 14:36:38 -04:00
|
|
|
zbus_systemd = { version = "0.25701.0", optional = true, features = [
|
2025-08-28 01:13:23 +02:00
|
|
|
"systemd1",
|
2024-06-21 14:45:46 -04:00
|
|
|
] }
|
2022-06-22 14:09:59 -04:00
|
|
|
tokio-util = "0.7"
|
2022-06-22 12:22:30 -04:00
|
|
|
tracing = "0.1"
|
2024-08-09 17:58:14 +01:00
|
|
|
tracing-journald = { version = "0.3", optional = true }
|
2022-06-22 12:22:30 -04:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
2025-08-28 01:55:51 +02:00
|
|
|
zbus = { version = "5.10.0", default-features = false, features = ["tokio"] }
|
2024-06-20 14:12:58 -04:00
|
|
|
cosmic-notifications-util = { git = "https://github.com/pop-os/cosmic-notifications" }
|
2025-06-13 14:36:38 -04:00
|
|
|
logind-zbus = { version = "5.3.2", optional = true }
|
2024-06-21 14:45:46 -04:00
|
|
|
|
|
|
|
|
[features]
|
2024-08-09 17:58:14 +01:00
|
|
|
systemd = ["dep:zbus_systemd", "dep:tracing-journald"]
|
2025-06-13 14:36:38 -04:00
|
|
|
logind = ["systemd", "logind-zbus"]
|
|
|
|
|
default = ["logind"]
|
2025-03-22 18:35:50 +08:00
|
|
|
autostart = ["dep:shell-words", "dep:dirs", "dep:freedesktop-desktop-entry"]
|