chore: update dependencies
This commit is contained in:
parent
c5df9dcf88
commit
b72b15d719
4 changed files with 28 additions and 32 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -140,9 +140,7 @@ impl Config {
|
|||
pub fn system(name: &str, version: u64) -> Result<Self, Error> {
|
||||
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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue