2023-09-29 09:24:35 -06:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-greeter"
|
|
|
|
|
version = "0.1.0"
|
2025-03-21 10:33:31 -04:00
|
|
|
edition = "2024"
|
2023-09-29 09:24:35 -06:00
|
|
|
|
2025-03-24 14:50:51 -04:00
|
|
|
[build-dependencies]
|
|
|
|
|
vergen = { version = "8", features = ["git", "gitcl"] }
|
|
|
|
|
|
2023-09-29 09:24:35 -06:00
|
|
|
[dependencies]
|
2025-04-10 16:39:32 -04:00
|
|
|
anyhow = "1"
|
2025-09-16 13:08:16 +02:00
|
|
|
async-fn-stream = "0.3"
|
|
|
|
|
icu = { version = "2.0.0", features = ["compiled_data"] }
|
2025-04-10 16:39:32 -04:00
|
|
|
chrono-tz = "0.10"
|
2024-08-27 08:39:16 -04:00
|
|
|
chrono = { version = "0.4", features = ["unstable-locales"] }
|
2025-05-09 14:16:12 -06:00
|
|
|
cosmic-applets-config.workspace = true
|
2024-02-06 15:03:07 -07:00
|
|
|
cosmic-bg-config.workspace = true
|
2024-06-04 22:17:44 -06:00
|
|
|
cosmic-comp-config.workspace = true
|
2024-02-06 15:03:07 -07:00
|
|
|
cosmic-config = { workspace = true, features = ["calloop", "macro"] }
|
2024-08-22 08:17:06 -04:00
|
|
|
cosmic-greeter-config.workspace = true
|
2024-02-06 15:03:07 -07:00
|
|
|
cosmic-greeter-daemon = { path = "daemon" }
|
2025-04-10 13:03:53 +02:00
|
|
|
dirs = "6"
|
2023-10-19 10:46:18 -06:00
|
|
|
freedesktop_entry_parser = "1.3.0"
|
2025-02-21 17:05:50 -05:00
|
|
|
libcosmic = { workspace = true, features = [
|
|
|
|
|
"autosize",
|
|
|
|
|
"winit",
|
|
|
|
|
"multi-window",
|
|
|
|
|
"desktop",
|
|
|
|
|
"wayland",
|
|
|
|
|
"tokio",
|
|
|
|
|
"dbus-config",
|
|
|
|
|
] }
|
2025-09-12 17:39:37 -04:00
|
|
|
tracing.workspace = true
|
|
|
|
|
tracing-journald = { workspace = true, optional = true }
|
|
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
2023-10-19 10:46:18 -06:00
|
|
|
pam-client = "0.5.0"
|
2024-02-06 15:03:07 -07:00
|
|
|
pwd.workspace = true
|
|
|
|
|
ron.workspace = true
|
2024-07-28 05:05:14 +02:00
|
|
|
shlex = "1.3.0"
|
2024-11-22 02:24:38 -05:00
|
|
|
xkb-data = "0.2"
|
2025-09-16 13:08:16 +02:00
|
|
|
xdg = "3.0"
|
2024-02-06 15:03:07 -07:00
|
|
|
#TODO: reduce features
|
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2025-09-16 13:08:16 +02:00
|
|
|
wayland-client = "0.31.11"
|
2025-08-06 21:41:38 -04:00
|
|
|
cosmic-settings-subscriptions = { git = "https://github.com/pop-os/cosmic-settings-subscriptions", default-features = false, features = [
|
|
|
|
|
"accessibility",
|
|
|
|
|
"cosmic_a11y_manager",
|
|
|
|
|
] }
|
2025-08-11 14:47:06 -04:00
|
|
|
cosmic-settings-daemon-config = { git = "https://github.com/pop-os/cosmic-settings-daemon", default-features = false, features = [
|
2025-08-06 21:41:38 -04:00
|
|
|
"greeter",
|
|
|
|
|
] }
|
2025-09-16 13:08:16 +02:00
|
|
|
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit" }
|
|
|
|
|
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, features = ["client"] }
|
2025-08-06 21:41:38 -04:00
|
|
|
|
2024-01-17 09:37:15 -07:00
|
|
|
# For network status using networkmanager feature
|
2025-06-26 15:14:43 -04:00
|
|
|
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
2024-01-17 09:37:15 -07:00
|
|
|
# For logind integration using logind feature
|
2025-06-26 15:14:43 -04:00
|
|
|
logind-zbus = { version = "5", optional = true }
|
2024-04-05 09:45:20 -06:00
|
|
|
# Fix zbus compilation by manually adding nix with user feature
|
|
|
|
|
nix = { workspace = true, optional = true }
|
2024-01-17 12:37:22 -07:00
|
|
|
# For power status with upower feature
|
2025-06-26 15:14:43 -04:00
|
|
|
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
2024-01-17 09:37:15 -07:00
|
|
|
# Required for some features
|
2024-02-06 15:03:07 -07:00
|
|
|
zbus = { workspace = true, optional = true }
|
2025-03-24 14:50:51 -04:00
|
|
|
# CLI arguments
|
2025-03-25 11:10:47 -04:00
|
|
|
clap_lex = "0.7"
|
2024-05-07 10:07:48 -06:00
|
|
|
# Internationalization
|
2025-09-16 13:08:16 +02:00
|
|
|
i18n-embed = { version = "0.16", features = [
|
2024-07-28 05:05:14 +02:00
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2025-09-16 13:08:16 +02:00
|
|
|
i18n-embed-fl = "0.10"
|
2024-05-07 10:07:48 -06:00
|
|
|
rust-embed = "8"
|
2025-09-16 13:08:16 +02:00
|
|
|
futures-util = "0.3.31"
|
2025-04-10 16:39:32 -04:00
|
|
|
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings" }
|
2025-08-20 18:06:41 -04:00
|
|
|
cosmic-randr-shell = { workspace = true }
|
|
|
|
|
kdl.workspace = true
|
2025-09-12 17:39:37 -04:00
|
|
|
color-eyre.workspace = true
|
2023-10-09 10:59:07 -06:00
|
|
|
|
2023-10-02 14:38:00 -06:00
|
|
|
[dependencies.greetd_ipc]
|
2024-07-28 05:05:14 +02:00
|
|
|
version = "0.10.3"
|
2024-06-03 00:33:13 -04:00
|
|
|
features = ["tokio-codec"]
|
2023-09-29 16:02:45 -06:00
|
|
|
|
2023-11-29 08:02:14 -07:00
|
|
|
[features]
|
2025-09-12 17:39:37 -04:00
|
|
|
default = ["logind", "networkmanager", "upower", "systemd"]
|
|
|
|
|
logind = ["logind-zbus", "zbus", "systemd"]
|
|
|
|
|
systemd = ["tracing-journald"]
|
2024-01-17 09:37:15 -07:00
|
|
|
networkmanager = ["cosmic-dbus-networkmanager", "zbus"]
|
2024-01-17 12:37:22 -07:00
|
|
|
upower = ["upower_dbus", "zbus"]
|
2024-04-05 09:45:20 -06:00
|
|
|
zbus = ["dep:zbus", "nix"]
|
2024-02-06 15:03:07 -07:00
|
|
|
|
2025-08-19 13:22:47 -04:00
|
|
|
|
2024-08-21 13:27:59 -07:00
|
|
|
[profile.dev.package.tiny-skia]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
|
|
[profile.dev.package.rustybuzz]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
|
|
[profile.dev.package.ttf-parser]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
2024-02-06 15:03:07 -07:00
|
|
|
[workspace]
|
2024-08-22 08:17:06 -04:00
|
|
|
members = ["cosmic-greeter-config", "daemon"]
|
2024-07-28 05:05:14 +02:00
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
|
|
[workspace.package]
|
2025-04-10 13:03:53 +02:00
|
|
|
rust-version = "1.85.0"
|
2024-02-06 15:03:07 -07:00
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2025-09-12 17:39:37 -04:00
|
|
|
tracing = "0.1"
|
|
|
|
|
tracing-journald = { version = "0.3" }
|
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
|
color-eyre = "0.6.5"
|
2025-08-19 13:22:47 -04:00
|
|
|
|
2024-04-05 09:45:20 -06:00
|
|
|
# Fix zbus compilation by manually adding nix with user feature
|
2025-09-16 13:08:16 +02:00
|
|
|
nix = { version = "0.30", features = ["user"] }
|
2024-02-06 15:03:07 -07:00
|
|
|
pwd = "1.4.0"
|
2025-09-16 13:08:16 +02:00
|
|
|
ron = "0.11"
|
2024-02-06 15:03:07 -07:00
|
|
|
serde = "1"
|
2025-09-16 13:08:16 +02:00
|
|
|
tokio = "1.47.1"
|
2025-06-26 15:14:43 -04:00
|
|
|
zbus = "5"
|
2025-08-20 18:06:41 -04:00
|
|
|
kdl = "6"
|
2025-09-17 18:23:48 +02:00
|
|
|
cosmic-randr-shell = { git = "https://github.com/pop-os/cosmic-randr", default-features = false }
|
2024-02-06 15:03:07 -07:00
|
|
|
|
2025-05-09 14:16:12 -06:00
|
|
|
[workspace.dependencies.cosmic-applets-config]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-applets"
|
|
|
|
|
default-features = false
|
2025-02-21 17:05:50 -05:00
|
|
|
|
2024-02-06 15:03:07 -07:00
|
|
|
[workspace.dependencies.cosmic-bg-config]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-bg"
|
|
|
|
|
default-features = false
|
|
|
|
|
|
2024-06-04 22:17:44 -06:00
|
|
|
[workspace.dependencies.cosmic-comp-config]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-comp"
|
|
|
|
|
default-features = false
|
2025-08-20 18:06:41 -04:00
|
|
|
features = ["output", "randr"]
|
2024-06-04 22:17:44 -06:00
|
|
|
|
2024-08-22 08:17:06 -04:00
|
|
|
[workspace.dependencies.cosmic-greeter-config]
|
|
|
|
|
path = "cosmic-greeter-config"
|
|
|
|
|
|
2024-02-06 15:03:07 -07:00
|
|
|
[workspace.dependencies.cosmic-config]
|
|
|
|
|
git = "https://github.com/pop-os/libcosmic"
|
|
|
|
|
default-features = false
|
|
|
|
|
|
2024-02-06 15:48:57 -07:00
|
|
|
[workspace.dependencies.cosmic-theme]
|
|
|
|
|
git = "https://github.com/pop-os/libcosmic"
|
|
|
|
|
default-features = false
|
|
|
|
|
|
2024-02-06 15:03:07 -07:00
|
|
|
[workspace.dependencies.libcosmic]
|
|
|
|
|
git = "https://github.com/pop-os/libcosmic"
|
|
|
|
|
default-features = false
|
2025-02-21 17:05:50 -05:00
|
|
|
|
2025-08-06 21:41:38 -04:00
|
|
|
[patch."https://github.com/smithay/client-toolkit.git"]
|
2025-09-16 13:08:16 +02:00
|
|
|
sctk = { package = "smithay-client-toolkit", version = "0.20.0" }
|
|
|
|
|
|
2025-08-08 11:54:53 -04:00
|
|
|
[patch."https://github.com/pop-os/cosmic-protocols"]
|
2025-09-16 13:08:16 +02:00
|
|
|
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//" }
|
|
|
|
|
cctk = { git = "https://github.com/pop-os/cosmic-protocols//", package = "cosmic-client-toolkit" }
|
2025-08-08 11:54:53 -04:00
|
|
|
|
2025-02-21 17:05:50 -05:00
|
|
|
# libcosmic = { path = "../libcosmic" }
|
|
|
|
|
# cosmic-config = { path = "../libcosmic/cosmic-config" }
|
|
|
|
|
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|