chore(cargo): update dependencies

This commit is contained in:
Michael Aaron Murphy 2024-07-28 05:05:14 +02:00 committed by Michael Murphy
parent acc30acc62
commit 4a46213cb8
3 changed files with 465 additions and 593 deletions

1030
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
chrono = "0.4.31" chrono = "0.4.38"
cosmic-bg-config.workspace = true cosmic-bg-config.workspace = true
cosmic-comp-config.workspace = true cosmic-comp-config.workspace = true
cosmic-config = { workspace = true, features = ["calloop", "macro"] } cosmic-config = { workspace = true, features = ["calloop", "macro"] }
@ -16,12 +16,12 @@ log.workspace = true
pam-client = "0.5.0" pam-client = "0.5.0"
pwd.workspace = true pwd.workspace = true
ron.workspace = true ron.workspace = true
shlex = "1.2.0" shlex = "1.3.0"
xkb-data = "0.1" xkb-data = "0.1"
xdg = "2.5.2" xdg = "2.5.2"
#TODO: reduce features #TODO: reduce features
tokio = { workspace = true, features = ["full"] } tokio = { workspace = true, features = ["full"] }
wayland-client = "0.31.2" wayland-client = "0.31.5"
# For network status using networkmanager feature # For network status using networkmanager feature
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", optional = true } cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", optional = true }
# For logind integration using logind feature # For logind integration using logind feature
@ -33,12 +33,16 @@ upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", rev =
# Required for some features # Required for some features
zbus = { workspace = true, optional = true } zbus = { workspace = true, optional = true }
# Internationalization # Internationalization
i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"] } i18n-embed = { version = "0.14", features = [
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.7" i18n-embed-fl = "0.7"
rust-embed = "8" rust-embed = "8"
futures-util = "0.3.30"
[dependencies.greetd_ipc] [dependencies.greetd_ipc]
version = "0.10.0" version = "0.10.3"
features = ["tokio-codec"] features = ["tokio-codec"]
[features] [features]
@ -50,16 +54,20 @@ zbus = ["dep:zbus", "nix"]
[workspace] [workspace]
members = ["daemon"] members = ["daemon"]
resolver = "2"
[workspace.package]
rust-version = "1.79.0"
[workspace.dependencies] [workspace.dependencies]
env_logger = "0.10.0" env_logger = "0.10.2"
log = "0.4.20" log = "0.4.22"
# Fix zbus compilation by manually adding nix with user feature # Fix zbus compilation by manually adding nix with user feature
nix = { version = "0.26", features = ["user"] } nix = { version = "0.26", features = ["user"] }
pwd = "1.4.0" pwd = "1.4.0"
ron = "0.8" ron = "0.8"
serde = "1" serde = "1"
tokio = "1.33.0" tokio = "1.39.1"
zbus = "4" zbus = "4"
[workspace.dependencies.cosmic-bg-config] [workspace.dependencies.cosmic-bg-config]

4
debian/rules vendored
View file

@ -9,8 +9,8 @@ export VENDOR ?= 1
override_dh_auto_clean: override_dh_auto_clean:
if ! ischroot && test "${VENDOR}" = "1"; then \ if ! ischroot && test "${VENDOR}" = "1"; then \
mkdir -p .cargo; \ mkdir -p .cargo; \
cargo vendor | head -n -1 > .cargo/config; \ cargo vendor | head -n -1 > .cargo/config.toml; \
echo 'directory = "vendor"' >> .cargo/config; \ echo 'directory = "vendor"' >> .cargo/config.toml; \
tar pcf vendor.tar vendor; \ tar pcf vendor.tar vendor; \
rm -rf vendor; \ rm -rf vendor; \
fi fi