cosmic-greeter/Cargo.toml

123 lines
3.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
[dependencies]
chrono = { version = "0.4", features = ["unstable-locales"] }
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" }
2024-11-07 09:37:16 -07:00
dirs = "5"
2024-02-06 15:03:07 -07:00
env_logger.workspace = true
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",
] }
2024-02-06 15:03:07 -07:00
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"
xkb-data = "0.2"
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 }
# 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"
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"]
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.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"
# 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
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
[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-03-14 12:17:24 -04:00
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { git = "https://github.com/pop-os/libcosmic//", branch = "drop-menu-tree-changes" }
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//", branch = "drop-menu-tree-changes" }
# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//", branch = "drop-menu-tree-changes" }
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }