cosmic-greeter/Cargo.toml

187 lines
5.9 KiB
TOML
Raw Normal View History

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
[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"
async-fn-stream = "0.3"
2026-04-27 13:17:36 +02:00
icu = { version = "2.2.0", features = ["compiled_data"] }
2026-04-27 13:07:36 +02:00
jiff = "0.2"
jiff-icu = "0.2"
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
cosmic-comp-config.workspace = true
2024-02-06 15:03:07 -07:00
cosmic-config = { workspace = true, features = ["calloop", "macro"] }
cosmic-greeter-config.workspace = true
2024-02-06 15:03:07 -07:00
cosmic-greeter-daemon = { path = "daemon" }
dirs = "6"
2026-05-25 08:33:57 +02:00
cosmic = { package = "libcosmic-yoda", path = "../libcosmic", default-features = false, features = [
"advanced-shaping",
"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"
xkb-data = "0.2"
xdg = "3.0"
2024-02-06 15:03:07 -07:00
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
2026-04-27 13:17:36 +02:00
wayland-client = "0.31.14"
2026-02-24 15:49:22 -05:00
# cosmic-settings-subscriptions = { git = "https://github.com/pop-os/cosmic-settings-subscriptions", default-features = false, features = [
# "accessibility",
# "cosmic_a11y_manager",
# ] }
2026-05-25 08:33:57 +02:00
cosmic-settings-accessibility-subscription = { path = "../cosmic-settings/subscriptions/accessibility", default-features = false }
cosmic-settings-a11y-manager-subscription = { path = "../cosmic-settings/subscriptions/a11y-manager", default-features = false }
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config", default-features = false, features = [
2025-08-06 21:41:38 -04:00
"greeter",
2026-03-16 14:02:28 -04:00
] }
2026-02-24 15:49:22 -05:00
2026-05-25 08:33:57 +02:00
cctk = { path = "../cosmic-protocols/client-toolkit", package = "cosmic-client-toolkit" }
cosmic-protocols = { path = "../cosmic-protocols", default-features = false, features = [
2025-10-15 22:31:24 -04:00
"client",
] }
2025-08-06 21:41:38 -04:00
2024-01-17 09:37:15 -07:00
# For network status using networkmanager feature
2026-05-25 09:55:11 +02:00
cosmic-dbus-networkmanager = { path = "../dbus-settings-bindings/networkmanager", 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-01-17 12:37:22 -07:00
# For power status with upower feature
2026-05-25 09:55:11 +02:00
upower_dbus = { path = "../dbus-settings-bindings/upower", optional = true }
2024-01-17 09:37:15 -07:00
# Required for some features
2025-10-16 21:08:47 +00:00
zbus = { workspace = true }
# CLI arguments
2026-04-27 13:17:36 +02:00
clap_lex = "1.1"
2024-05-07 10:07:48 -06:00
# Internationalization
i18n-embed = { version = "0.16", features = [
2024-07-28 05:05:14 +02:00
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.10"
2024-05-07 10:07:48 -06:00
rust-embed = "8"
2026-04-27 13:17:36 +02:00
futures-util = "0.3.32"
2026-05-25 09:55:11 +02:00
timedate-zbus = { path = "../dbus-settings-bindings/timedate" }
cosmic-randr-shell = { workspace = true }
kdl.workspace = true
2025-09-12 17:39:37 -04:00
color-eyre.workspace = true
2025-10-15 22:31:24 -04:00
image = { version = "0.25", default-features = false, features = [
"jpeg",
"png",
"rayon",
"webp",
"hdr",
] }
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"
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"]
2025-10-16 21:08:47 +00:00
logind = ["logind-zbus", "systemd"]
2025-09-12 17:39:37 -04:00
systemd = ["tracing-journald"]
2025-10-16 21:08:47 +00:00
networkmanager = ["cosmic-dbus-networkmanager"]
upower = ["upower_dbus"]
[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]
members = ["cosmic-greeter-config", "daemon"]
2026-04-27 13:17:36 +02:00
resolver = "3"
2024-07-28 05:05:14 +02:00
[workspace.package]
2026-04-27 13:17:36 +02:00
rust-version = "1.93"
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"
2024-02-06 15:03:07 -07:00
pwd = "1.4.0"
2026-04-27 13:17:36 +02:00
ron = "0.12"
2024-02-06 15:03:07 -07:00
serde = "1"
2026-04-27 13:17:36 +02:00
tokio = "1.52.1"
2025-06-26 15:14:43 -04:00
zbus = "5"
kdl = "6"
2026-05-25 08:33:57 +02:00
cosmic-randr-shell = { path = "../cosmic-randr/shell", default-features = false }
2024-02-06 15:03:07 -07:00
2025-05-09 14:16:12 -06:00
[workspace.dependencies.cosmic-applets-config]
2026-05-25 08:33:57 +02:00
path = "../cosmic-applets/cosmic-applets-config"
2025-05-09 14:16:12 -06:00
default-features = false
2024-02-06 15:03:07 -07:00
[workspace.dependencies.cosmic-bg-config]
2026-05-25 08:33:57 +02:00
path = "../cosmic-bg/config"
2024-02-06 15:03:07 -07:00
default-features = false
[workspace.dependencies.cosmic-comp-config]
2026-05-25 08:33:57 +02:00
path = "../cosmic-comp/cosmic-comp-config"
default-features = false
features = ["output", "randr"]
[workspace.dependencies.cosmic-greeter-config]
path = "cosmic-greeter-config"
2024-02-06 15:03:07 -07:00
[workspace.dependencies.cosmic-config]
2026-05-25 08:33:57 +02:00
path = "../libcosmic/cosmic-config"
2024-02-06 15:03:07 -07:00
default-features = false
2024-02-06 15:48:57 -07:00
[workspace.dependencies.cosmic-theme]
2026-05-25 08:33:57 +02:00
path = "../libcosmic/cosmic-theme"
2024-02-06 15:48:57 -07:00
default-features = false
2026-05-25 08:33:57 +02:00
[patch."https://github.com/pop-os/libcosmic"]
cosmic-config = { path = "../libcosmic/cosmic-config" }
cosmic-config-derive = { path = "../libcosmic/cosmic-config-derive" }
cosmic-theme = { path = "../libcosmic/cosmic-theme" }
iced = { path = "../libcosmic/iced" }
iced_accessibility = { path = "../libcosmic/iced/accessibility" }
iced_core = { path = "../libcosmic/iced/core" }
iced_futures = { path = "../libcosmic/iced/futures" }
iced_graphics = { path = "../libcosmic/iced/graphics" }
iced_renderer = { path = "../libcosmic/iced/renderer" }
iced_runtime = { path = "../libcosmic/iced/runtime" }
iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
iced_wgpu = { path = "../libcosmic/iced/wgpu" }
iced_widget = { path = "../libcosmic/iced/widget" }
iced_winit = { path = "../libcosmic/iced/winit" }
2025-08-08 11:54:53 -04:00
[patch."https://github.com/pop-os/cosmic-protocols"]
2026-05-25 08:33:57 +02:00
cosmic-protocols = { path = "../cosmic-protocols" }
cosmic-client-toolkit = { path = "../cosmic-protocols/client-toolkit" }
[patch."https://github.com/pop-os/cosmic-settings-daemon"]
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config" }
2026-05-25 11:34:55 +02:00
[patch."https://github.com/pop-os/cosmic-text.git"]
cosmic-text = { path = "../cosmic-text" }
2026-05-25 08:33:57 +02:00
[patch."https://forge.aditua.com/leyoda/window_clipboard.git"]
window_clipboard = { path = "../window_clipboard" }
dnd = { path = "../window_clipboard/dnd" }
mime = { path = "../window_clipboard/mime" }
clipboard_wayland = { path = "../window_clipboard/wayland" }
clipboard_macos = { path = "../window_clipboard/macos" }