2023-09-29 09:24:35 -06:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-greeter"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2024-08-27 08:39:16 -04:00
|
|
|
chrono = { version = "0.4", features = ["unstable-locales"] }
|
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"] }
|
|
|
|
|
cosmic-greeter-daemon = { path = "daemon" }
|
|
|
|
|
env_logger.workspace = true
|
2023-10-19 10:46:18 -06:00
|
|
|
freedesktop_entry_parser = "1.3.0"
|
2024-02-06 15:03:07 -07:00
|
|
|
libcosmic = { workspace = true, features = ["tokio", "wayland"] }
|
|
|
|
|
log.workspace = true
|
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-06-04 22:17:44 -06:00
|
|
|
xkb-data = "0.1"
|
2024-02-19 22:08:02 -05:00
|
|
|
xdg = "2.5.2"
|
2024-02-06 15:03:07 -07:00
|
|
|
#TODO: reduce features
|
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2024-07-28 05:05:14 +02:00
|
|
|
wayland-client = "0.31.5"
|
2024-01-17 09:37:15 -07:00
|
|
|
# For network status using networkmanager feature
|
2024-05-17 09:11:50 -06:00
|
|
|
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", optional = true }
|
2024-01-17 09:37:15 -07:00
|
|
|
# For logind integration using logind feature
|
2024-05-17 09:11:50 -06:00
|
|
|
logind-zbus = { version = "4", 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
|
2024-05-17 09:11:50 -06:00
|
|
|
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", 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 }
|
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"
|
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]
|
2024-01-17 12:37:22 -07:00
|
|
|
default = ["logind", "networkmanager", "upower"]
|
2023-11-29 08:02:14 -07:00
|
|
|
logind = ["logind-zbus", "zbus"]
|
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
|
|
|
|
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]
|
|
|
|
|
members = ["daemon"]
|
2024-07-28 05:05:14 +02:00
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
|
rust-version = "1.79.0"
|
2024-02-06 15:03:07 -07:00
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-07-28 05:05:14 +02:00
|
|
|
env_logger = "0.10.2"
|
|
|
|
|
log = "0.4.22"
|
2024-04-05 09:45:20 -06:00
|
|
|
# Fix zbus compilation by manually adding nix with user feature
|
|
|
|
|
nix = { version = "0.26", features = ["user"] }
|
2024-02-06 15:03:07 -07:00
|
|
|
pwd = "1.4.0"
|
|
|
|
|
ron = "0.8"
|
|
|
|
|
serde = "1"
|
2024-07-28 05:05:14 +02:00
|
|
|
tokio = "1.39.1"
|
2024-05-17 09:11:50 -06:00
|
|
|
zbus = "4"
|
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
|
|
|
|
|
|
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
|