chore: upgrade all dependencies
This commit is contained in:
parent
9ebad94e3b
commit
a90d7fbc42
10 changed files with 343 additions and 273 deletions
508
Cargo.lock
generated
508
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -8,7 +8,7 @@ rust-version = "1.80.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
cosmic-randr = { git = "https://github.com/pop-os/cosmic-randr" }
|
cosmic-randr = { git = "https://github.com/pop-os/cosmic-randr" }
|
||||||
tokio = { version = "1.40.0", features = ["macros"] }
|
tokio = { version = "1.43.0", features = ["macros"] }
|
||||||
|
|
||||||
[workspace.dependencies.libcosmic]
|
[workspace.dependencies.libcosmic]
|
||||||
features = ["multi-window", "winit", "tokio"]
|
features = ["multi-window", "winit", "tokio"]
|
||||||
|
|
@ -49,8 +49,8 @@ lto = "thin"
|
||||||
# smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "c583de8" }
|
# smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "c583de8" }
|
||||||
|
|
||||||
[patch.'https://github.com/pop-os/cosmic-protocols']
|
[patch.'https://github.com/pop-os/cosmic-protocols']
|
||||||
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "d218c76" }
|
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "178eb0b" }
|
||||||
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "d218c76" }
|
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "178eb0b" }
|
||||||
|
|
||||||
# For development and testing purposes
|
# For development and testing purposes
|
||||||
# [patch.'https://github.com/pop-os/libcosmic']
|
# [patch.'https://github.com/pop-os/libcosmic']
|
||||||
|
|
@ -64,5 +64,6 @@ cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//",
|
||||||
# [patch.'https://github.com/pop-os/dbus-settings-bindings']
|
# [patch.'https://github.com/pop-os/dbus-settings-bindings']
|
||||||
# cosmic-dbus-networkmanager = { path = "../dbus-settings-bindings/networkmanager" }
|
# cosmic-dbus-networkmanager = { path = "../dbus-settings-bindings/networkmanager" }
|
||||||
# upower_dbus = { path = "../dbus-settings-bindings/upower" }
|
# upower_dbus = { path = "../dbus-settings-bindings/upower" }
|
||||||
|
|
||||||
[patch."https://github.com/smithay/client-toolkit.git"]
|
[patch."https://github.com/smithay/client-toolkit.git"]
|
||||||
sctk = { package = "smithay-client-toolkit", version = "=0.19.2" }
|
sctk = { package = "smithay-client-toolkit", version = "=0.19.2" }
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ ashpd = { version = "0.9", default-features = false, features = [
|
||||||
"tokio",
|
"tokio",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
async-channel = "2.3.1"
|
async-channel = "2.3.1"
|
||||||
chrono = "0.4.38"
|
chrono = "0.4.39"
|
||||||
clap = { version = "4.5.17", features = ["derive"] }
|
clap = { version = "4.5.29", features = ["derive"] }
|
||||||
color-eyre = "0.6.3"
|
color-eyre = "0.6.3"
|
||||||
cosmic-bg-config.workspace = true
|
cosmic-bg-config.workspace = true
|
||||||
cosmic-comp-config = { workspace = true, optional = true }
|
cosmic-comp-config = { workspace = true, optional = true }
|
||||||
|
|
@ -32,25 +32,31 @@ derive_setters = "0.1.6"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
downcast-rs = "1.2.1"
|
downcast-rs = "1.2.1"
|
||||||
eyre = "0.6.12"
|
eyre = "0.6.12"
|
||||||
freedesktop-desktop-entry = "0.7.5"
|
freedesktop-desktop-entry = "0.7.7"
|
||||||
futures = "0.3.30"
|
futures = "0.3.31"
|
||||||
hostname-validator = "1.1.1"
|
hostname-validator = "1.1.1"
|
||||||
hostname1-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
hostname1-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
i18n-embed-fl = "0.9.1"
|
i18n-embed-fl = "0.9.3"
|
||||||
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "rayon", "webp", "hdr"] }
|
image = { version = "0.25", default-features = false, features = [
|
||||||
indexmap = "2.5.0"
|
"jpeg",
|
||||||
|
"png",
|
||||||
|
"rayon",
|
||||||
|
"webp",
|
||||||
|
"hdr",
|
||||||
|
] }
|
||||||
|
indexmap = "2.7.1"
|
||||||
itertools = "0.13.0"
|
itertools = "0.13.0"
|
||||||
itoa = "1.0.11"
|
itoa = "1.0.14"
|
||||||
libcosmic.workspace = true
|
libcosmic.workspace = true
|
||||||
locale1 = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
locale1 = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
mime-apps = { package = "cosmic-mime-apps", git = "https://github.com/pop-os/cosmic-mime-apps", optional = true }
|
mime-apps = { package = "cosmic-mime-apps", git = "https://github.com/pop-os/cosmic-mime-apps", optional = true }
|
||||||
notify = "6.1.1"
|
notify = "6.1.1"
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.20.3"
|
||||||
regex = "1.10.6"
|
regex = "1.11.1"
|
||||||
ron = "0.8"
|
ron = "0.8"
|
||||||
rust-embed = "8.5.0"
|
rust-embed = "8.5.0"
|
||||||
secure-string = "0.3.0"
|
secure-string = "0.3.0"
|
||||||
serde = { version = "1.0.210", features = ["derive"] }
|
serde = { version = "1.0.217", features = ["derive"] }
|
||||||
slab = "0.4.9"
|
slab = "0.4.9"
|
||||||
slotmap = "1.0.7"
|
slotmap = "1.0.7"
|
||||||
static_init = "1.0.3"
|
static_init = "1.0.3"
|
||||||
|
|
@ -59,18 +65,20 @@ tachyonix = "0.3.1"
|
||||||
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
tokio = { workspace = true, features = ["fs", "io-util", "sync"] }
|
tokio = { workspace = true, features = ["fs", "io-util", "sync"] }
|
||||||
tracing = "0.1.41"
|
tracing = "0.1.41"
|
||||||
tracing-subscriber = "0.3.18"
|
tracing-subscriber = "0.3.19"
|
||||||
udev = { version = "0.9.0", optional = true }
|
udev = { version = "0.9.3", optional = true }
|
||||||
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
bluez-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
bluez-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
url = "2.5.2"
|
url = "2.5.4"
|
||||||
xkb-data = "0.2.1"
|
xkb-data = "0.2.1"
|
||||||
zbus = { version = "4.4.0", features = ["tokio"], optional = true }
|
zbus = { version = "4.4.0", default-features = false, features = [
|
||||||
|
"tokio",
|
||||||
|
], optional = true }
|
||||||
zbus_polkit = { version = "4.0.0" }
|
zbus_polkit = { version = "4.0.0" }
|
||||||
fontdb = "0.16.2"
|
fontdb = "0.16.2"
|
||||||
fixed_decimal = "0.5.6"
|
fixed_decimal = "0.5.6"
|
||||||
mime = "0.3.17"
|
mime = "0.3.17"
|
||||||
rustix = "0.38.41"
|
rustix = "0.38.44"
|
||||||
gettext-rs = { version = "0.7.2", features = [
|
gettext-rs = { version = "0.7.2", features = [
|
||||||
"gettext-system",
|
"gettext-system",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
|
|
@ -87,7 +95,7 @@ version = "1.5.0"
|
||||||
features = ["experimental", "compiled_data", "icu_datetime_experimental"]
|
features = ["experimental", "compiled_data", "icu_datetime_experimental"]
|
||||||
|
|
||||||
[dependencies.i18n-embed]
|
[dependencies.i18n-embed]
|
||||||
version = "0.15.0"
|
version = "0.15.3"
|
||||||
features = ["fluent-system", "desktop-requester"]
|
features = ["fluent-system", "desktop-requester"]
|
||||||
|
|
||||||
# Contains region-handling logic for Linux
|
# Contains region-handling logic for Linux
|
||||||
|
|
|
||||||
|
|
@ -28,25 +28,6 @@ use ron::error::SpannedError;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use tracing_subscriber::prelude::*;
|
use tracing_subscriber::prelude::*;
|
||||||
|
|
||||||
/// Access glibc malloc tunables.
|
|
||||||
#[cfg(target_env = "gnu")]
|
|
||||||
mod malloc {
|
|
||||||
use std::os::raw::c_int;
|
|
||||||
|
|
||||||
const M_MMAP_THRESHOLD: c_int = -3;
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
fn mallopt(param: c_int, value: c_int) -> c_int;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Prevents glibc from hoarding memory via memory fragmentation.
|
|
||||||
pub fn limit_mmap_threshold() {
|
|
||||||
unsafe {
|
|
||||||
mallopt(M_MMAP_THRESHOLD, 65536);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Parser, Debug, Serialize, Deserialize, Clone)]
|
#[derive(Parser, Debug, Serialize, Deserialize, Clone)]
|
||||||
#[command(author, version, about, long_about = None)]
|
#[command(author, version, about, long_about = None)]
|
||||||
#[command(propagate_version = true)]
|
#[command(propagate_version = true)]
|
||||||
|
|
@ -159,9 +140,6 @@ impl CosmicFlags for Args {
|
||||||
///
|
///
|
||||||
/// Returns error if iced fails to run the application.
|
/// Returns error if iced fails to run the application.
|
||||||
pub fn main() -> color_eyre::Result<()> {
|
pub fn main() -> color_eyre::Result<()> {
|
||||||
#[cfg(target_env = "gnu")]
|
|
||||||
malloc::limit_mmap_threshold();
|
|
||||||
|
|
||||||
color_eyre::install()?;
|
color_eyre::install()?;
|
||||||
|
|
||||||
if std::env::var("RUST_SPANTRACE").is_err() {
|
if std::env::var("RUST_SPANTRACE").is_err() {
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@ impl PartialEq for Adapter {
|
||||||
|
|
||||||
impl Eq for Adapter {}
|
impl Eq for Adapter {}
|
||||||
|
|
||||||
const default_device_icon: &str = "bluetooth-symbolic";
|
const DEFAULT_DEVICE_ICON: &str = "bluetooth-symbolic";
|
||||||
|
|
||||||
fn device_type_to_icon(device_type: &str) -> &'static str {
|
fn device_type_to_icon(device_type: &str) -> &'static str {
|
||||||
match device_type {
|
match device_type {
|
||||||
|
|
@ -175,7 +175,7 @@ fn device_type_to_icon(device_type: &str) -> &'static str {
|
||||||
"input-mouse" => "input-mouse-symbolic",
|
"input-mouse" => "input-mouse-symbolic",
|
||||||
"printer" => "printer-network-symbolic",
|
"printer" => "printer-network-symbolic",
|
||||||
"camera-photo" => "camera-photo-symbolic",
|
"camera-photo" => "camera-photo-symbolic",
|
||||||
_ => default_device_icon,
|
_ => DEFAULT_DEVICE_ICON,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -269,7 +269,7 @@ impl Device {
|
||||||
}
|
}
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn is_known_device_type(&self) -> bool {
|
pub fn is_known_device_type(&self) -> bool {
|
||||||
self.icon != default_device_icon
|
self.icon != DEFAULT_DEVICE_ICON
|
||||||
}
|
}
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn alias_or_addr(&self) -> &str {
|
pub fn alias_or_addr(&self) -> &str {
|
||||||
|
|
|
||||||
|
|
@ -674,6 +674,10 @@ fn localize_action(action: &Action) -> String {
|
||||||
SystemAction::WorkspaceOverview => fl!("system-shortcut", "workspace-overview"),
|
SystemAction::WorkspaceOverview => fl!("system-shortcut", "workspace-overview"),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Action::ZoomIn => fl!("zoom-in"),
|
||||||
|
|
||||||
|
Action::ZoomOut => fl!("zoom-out"),
|
||||||
|
|
||||||
Action::Spawn(task) => task.clone(),
|
Action::Spawn(task) => task.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -653,6 +653,9 @@ window-tiling = Window tiling
|
||||||
replace-shortcut-dialog = Replace Shortcut?
|
replace-shortcut-dialog = Replace Shortcut?
|
||||||
.desc = { $shortcut } is used by { $name }. If you replace it, { $name } will be disabled.
|
.desc = { $shortcut } is used by { $name }. If you replace it, { $name } will be disabled.
|
||||||
|
|
||||||
|
zoom-in = Zoom In
|
||||||
|
zoom-out = Zoom Out
|
||||||
|
|
||||||
## Input: Mouse
|
## Input: Mouse
|
||||||
|
|
||||||
mouse = Mouse
|
mouse = Mouse
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
derive_setters = "0.1.6"
|
derive_setters = "0.1.6"
|
||||||
regex = "1.10.6"
|
regex = "1.11.1"
|
||||||
slotmap = "1.0.7"
|
slotmap = "1.0.7"
|
||||||
libcosmic = { workspace = true }
|
libcosmic = { workspace = true }
|
||||||
downcast-rs = "1.2.1"
|
downcast-rs = "1.2.1"
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.20.3"
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
url = "2.5.2"
|
url = "2.5.4"
|
||||||
slab = "0.4.9"
|
slab = "0.4.9"
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@ license = "GPL-3.0-only"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byte-unit = "5.1.4"
|
byte-unit = "5.1.6"
|
||||||
const_format = "0.2.33"
|
const_format = "0.2.34"
|
||||||
concat-in-place = "1.1.0"
|
concat-in-place = "1.1.0"
|
||||||
sysinfo = "0.31.4"
|
sysinfo = "0.31.4"
|
||||||
memchr = "2.7.4"
|
memchr = "2.7.4"
|
||||||
|
|
||||||
[dependencies.bumpalo]
|
[dependencies.bumpalo]
|
||||||
version = "3.16.0"
|
version = "3.17.0"
|
||||||
features = ["collections"]
|
features = ["collections"]
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,10 @@ fast_image_resize = { git = "https://github.com/jackpot51/fast_image_resize.git"
|
||||||
"image",
|
"image",
|
||||||
] }
|
] }
|
||||||
freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" }
|
freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" }
|
||||||
futures-lite = "2.3.0"
|
futures-lite = "2.6.0"
|
||||||
futures-util = "0.3.30"
|
futures-util = "0.3.31"
|
||||||
image = "0.25.2"
|
image = "0.25.5"
|
||||||
infer = "0.16.0"
|
infer = "0.16.0"
|
||||||
jxl-oxide = "0.9.0"
|
jxl-oxide = "0.11.1"
|
||||||
tokio = { version = "1.40.0", features = ["sync"] }
|
tokio = { version = "1.43.0", features = ["sync"] }
|
||||||
tracing = "0.1.40"
|
tracing = "0.1.41"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue