From b72b15d71961e06bcdaed43d1f2c66113eb565b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:08:49 +0200 Subject: [PATCH] chore: update dependencies --- Cargo.toml | 28 ++++++++++++++-------------- cosmic-config/Cargo.toml | 16 ++++++++-------- cosmic-config/src/lib.rs | 8 ++------ cosmic-theme/Cargo.toml | 8 ++++---- 4 files changed, 28 insertions(+), 32 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4e9bf983..a8fcdae7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -99,50 +99,50 @@ async-std = [ [dependencies] apply = "0.3.0" -ashpd = { version = "0.11.0", default-features = false, optional = true } +ashpd = { version = "0.12.0", default-features = false, optional = true } async-fs = { version = "2.1", optional = true } async-std = { version = "1.13", optional = true } auto_enums = "0.8.7" cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "6254f50", optional = true } -chrono = "0.4.40" +chrono = "0.4.41" cosmic-config = { path = "cosmic-config" } cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon", optional = true } css-color = "0.2.8" -derive_setters = "0.1.6" +derive_setters = "0.1.8" futures = "0.3" -image = { version = "0.25.5", default-features = false, features = [ +image = { version = "0.25.8", default-features = false, features = [ "jpeg", "png", ] } lazy_static = "1.5.0" -libc = { version = "0.2.171", optional = true } -license = { version = "3.6.0", optional = true } +libc = { version = "0.2.175", optional = true } +license = { version = "3.7.0", optional = true } mime = { version = "0.3.17", optional = true } palette = "0.7.6" raw-window-handle = "0.6" -rfd = { version = "0.15.3", default-features = false, features = [ +rfd = { version = "0.15.4", default-features = false, features = [ "xdg-portal", ], optional = true } rustix = { version = "1.0", features = ["pipe", "process"], optional = true } serde = { version = "1.0.219", features = ["derive"] } slotmap = "1.0.7" smol = { version = "2.0.2", optional = true } -thiserror = "2.0.12" -tokio = { version = "1.44.1", optional = true } +thiserror = "2.0.16" +tokio = { version = "1.47.1", optional = true } tracing = "0.1.41" unicode-segmentation = "1.12" -url = "2.5.4" -zbus = { version = "5.7.1", default-features = false, optional = true } +url = "2.5.7" +zbus = { version = "5.10.0", default-features = false, optional = true } # Enable DBus feature on Linux targets [target.'cfg(target_os = "linux")'.dependencies] cosmic-config = { path = "cosmic-config", features = ["dbus"] } cosmic-settings-daemon = { git = "https://github.com/pop-os/dbus-settings-bindings" } -zbus = { version = "5.7.1", default-features = false } +zbus = { version = "5.10.0", default-features = false } [target.'cfg(unix)'.dependencies] freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" } -freedesktop-desktop-entry = { version = "0.7.11", optional = true } +freedesktop-desktop-entry = { version = "0.7.14", optional = true } shlex = { version = "1.3.0", optional = true } [dependencies.cosmic-theme] @@ -197,7 +197,7 @@ git = "https://github.com/pop-os/cosmic-panel" optional = true [dependencies.ron] -version = "0.9" +version = "0.11" optional = true [dependencies.taffy] diff --git a/cosmic-config/Cargo.toml b/cosmic-config/Cargo.toml index a79237c8..4d7b99e1 100644 --- a/cosmic-config/Cargo.toml +++ b/cosmic-config/Cargo.toml @@ -11,24 +11,24 @@ subscription = ["iced_futures"] [dependencies] cosmic-settings-daemon = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true } -zbus = { version = "5.7.1", default-features = false, optional = true } +zbus = { version = "5.10.0", default-features = false, optional = true } atomicwrites = { git = "https://github.com/jackpot51/rust-atomicwrites" } -calloop = { version = "0.14.2", optional = true } -notify = "8.0.0" -ron = "0.9.0" +calloop = { version = "0.14.3", optional = true } +notify = "8.2.0" +ron = "0.11.0" serde = "1.0.219" cosmic-config-derive = { path = "../cosmic-config-derive/", optional = true } iced = { path = "../iced/", default-features = false, optional = true } iced_futures = { path = "../iced/futures/", default-features = false, optional = true } -once_cell = "1.21.1" +once_cell = "1.21.3" futures-util = { version = "0.3", optional = true } dirs.workspace = true -tokio = { version = "1.44", optional = true, features = ["time"] } +tokio = { version = "1.47", optional = true, features = ["time"] } async-std = { version = "1.13", optional = true } tracing = "0.1" [target.'cfg(unix)'.dependencies] -xdg = "2.5" +xdg = "3.0" [target.'cfg(windows)'.dependencies] -known-folders = "1.2.0" +known-folders = "1.3.1" diff --git a/cosmic-config/src/lib.rs b/cosmic-config/src/lib.rs index e408eac5..8759a527 100644 --- a/cosmic-config/src/lib.rs +++ b/cosmic-config/src/lib.rs @@ -140,9 +140,7 @@ impl Config { pub fn system(name: &str, version: u64) -> Result { let path = sanitize_name(name)?.join(format!("v{version}")); #[cfg(unix)] - let system_path = xdg::BaseDirectories::with_prefix("cosmic") - .map_err(std::io::Error::from)? - .find_data_file(path); + let system_path = xdg::BaseDirectories::with_prefix("cosmic").find_data_file(path); #[cfg(windows)] let system_path = @@ -164,9 +162,7 @@ impl Config { // Search data file, which provides default (e.g. /usr/share) #[cfg(unix)] - let system_path = xdg::BaseDirectories::with_prefix("cosmic") - .map_err(std::io::Error::from)? - .find_data_file(&path); + let system_path = xdg::BaseDirectories::with_prefix("cosmic").find_data_file(&path); #[cfg(windows)] let system_path = diff --git a/cosmic-theme/Cargo.toml b/cosmic-theme/Cargo.toml index 483014f6..bb735342 100644 --- a/cosmic-theme/Cargo.toml +++ b/cosmic-theme/Cargo.toml @@ -18,15 +18,15 @@ no-default = [] palette = { version = "0.7.6", features = ["serializing"] } almost = "0.2" serde = { version = "1.0.219", features = ["derive"] } -serde_json = { version = "1.0.140", optional = true, features = [ +serde_json = { version = "1.0.143", optional = true, features = [ "preserve_order", ] } -ron = "0.9.0" +ron = "0.11.0" lazy_static = "1.5.0" -csscolorparser = { version = "0.7.0", features = ["serde"] } +csscolorparser = { version = "0.7.2", features = ["serde"] } cosmic-config = { path = "../cosmic-config/", default-features = false, features = [ "subscription", "macro", ] } dirs.workspace = true -thiserror = "2.0.12" +thiserror = "2.0.16"