cosmic-greeter/Cargo.toml

167 lines
5 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.2.2"
icu = { version = "1.5.0", features = [
"experimental",
"compiled_data",
"icu_datetime_experimental",
] }
chrono-tz = "0.10"
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
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"
2023-10-19 10:46:18 -06:00
freedesktop_entry_parser = "1.3.0"
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"
xkb-data = "0.2"
xdg = "2.5.2"
2024-02-06 15:03:07 -07:00
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
wayland-client = "0.31.8"
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",
] }
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "178eb0b" }
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, features = [
"client",
], rev = "1425bd4" }
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 }
# 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 }
# CLI arguments
2025-03-25 11:10:47 -04:00
clap_lex = "0.7"
2024-05-07 10:07:48 -06:00
# Internationalization
2024-07-28 05:05:14 +02:00
i18n-embed = { version = "0.14", features = [
"fluent-system",
"desktop-requester",
] }
2024-05-07 10:07:48 -06:00
i18n-embed-fl = "0.7"
rust-embed = "8"
2024-07-28 05:05:14 +02:00
futures-util = "0.3.30"
2025-04-10 16:39:32 -04:00
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings" }
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"
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"]
zbus = ["dep:zbus", "nix"]
2024-02-06 15:03:07 -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]
members = ["cosmic-greeter-config", "daemon"]
2024-07-28 05:05:14 +02:00
resolver = "2"
[workspace.package]
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"
# Fix zbus compilation by manually adding nix with user feature
nix = { version = "0.29", features = ["user"] }
2024-02-06 15:03:07 -07:00
pwd = "1.4.0"
ron = "0.10.1"
2024-02-06 15:03:07 -07:00
serde = "1"
2024-07-28 05:05:14 +02:00
tokio = "1.39.1"
2025-06-26 15:14:43 -04:00
zbus = "5"
kdl = "6"
cosmic-randr-shell = { git = "https://github.com/pop-os/cosmic-randr", default-features = false, branch = "kdl-command" }
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
2024-02-06 15:03:07 -07:00
[workspace.dependencies.cosmic-bg-config]
git = "https://github.com/pop-os/cosmic-bg"
default-features = false
[workspace.dependencies.cosmic-comp-config]
git = "https://github.com/pop-os/cosmic-comp"
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]
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-08-06 21:41:38 -04:00
[patch."https://github.com/smithay/client-toolkit.git"]
sctk = { package = "smithay-client-toolkit", version = "=0.19.2" }
2025-08-08 11:54:53 -04:00
[patch."https://github.com/pop-os/cosmic-protocols"]
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "5035f8c" }
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }