cargo: Update deps and bump version

This commit is contained in:
Sophie Herold 2026-02-27 16:45:56 +01:00
parent 6009f23381
commit 5ba6cb0954
4 changed files with 358 additions and 458 deletions

789
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "loupe" name = "loupe"
version = "50.0.0-beta" version = "50.0.0-rc"
edition = "2024" edition = "2024"
rust-version = "1.92" rust-version = "1.92"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
@ -13,34 +13,34 @@ codegen-units = 1
x11 = ["ashpd/gtk4_x11"] x11 = ["ashpd/gtk4_x11"]
[dependencies] [dependencies]
adw = { package = "libadwaita", version = "0.9.0-alpha", features = ["v1_8"] } adw = { package = "libadwaita", version = "0.9.0", features = ["v1_8"] }
anyhow = { version = "1.0.66" } anyhow = { version = "1.0.66" }
arc-swap = "1.6.0" arc-swap = "1.6.0"
ashpd = { version = "0.13.0-alpha", default-features = false, features = [ ashpd = { version = "0.13.0", default-features = false, features = [
"gtk4_wayland", "gtk4_wayland",
"async-io", "async-io",
"wallpaper", "wallpaper",
] } ] }
async-channel = "2.1.0" async-channel = "2.1.0"
async-lock = "3.4.0" async-lock = "3.4.0"
cairo-rs = { version = "0.22.0-alpha.1", features = ["pdf"] } cairo-rs = { version = "0.22.0", features = ["pdf"] }
chrono = { version = "0.4.38", default-features = false, features = ["std"] } chrono = { version = "0.4.38", default-features = false, features = ["std"] }
gettext-rs = { version = "0.7.0", features = ["gettext-system"] } gettext-rs = { version = "0.7.0", features = ["gettext-system"] }
gettext-sys = { version = "0.26.0", features = ["gettext-system"] } gettext-sys = { version = "0.26.0", features = ["gettext-system"] }
gio = { version = "0.22.0-alpha.1", features = ["v2_74"] } gio = { version = "0.22.0", features = ["v2_74"] }
glycin = { version = "3.1.0-beta", features = ["gdk4", "unstable-config"] } glycin = { version = "3.1.0-rc", features = ["gdk4", "unstable-config"] }
gtk = { package = "gtk4", version = "0.11.0-alpha.1", features = [ gtk = { package = "gtk4", version = "0.11.0", features = [
"v4_14", "v4_14",
"xml_validation", "xml_validation",
] } ] }
gufo = { version = "0.4.0-alpha", features = ["chrono", "all-image-formats"] } gufo = { version = "0.4.0", features = ["chrono", "all-image-formats"] }
gufo-exif = "0.4.0-alpha" gufo-exif = "0.4.0"
gufo-common = { version = "1.1.0-alpha", features = ["serde"] } gufo-common = { version = "1.1.0", features = ["serde"] }
gvdb-macros = "0.1.6" gvdb-macros = "0.1.6"
indexmap = "2.0.0" indexmap = "2.0.0"
libc = "0.2.158" libc = "0.2.158"
libgweather = "4.8.0-alpha.0" libgweather = "4.8.0-alpha.0"
strum = { version = "0.27.1", features = ["derive"] } strum = { version = "0.28.0", features = ["derive"] }
thiserror = "2.0.3" thiserror = "2.0.3"
tracing = "0.1.44" tracing = "0.1.44"
tracing-subscriber = { version = "0.3.18", default-features = false, features = [ tracing-subscriber = { version = "0.3.18", default-features = false, features = [
@ -50,4 +50,3 @@ tracing-subscriber = { version = "0.3.18", default-features = false, features =
"smallvec", "smallvec",
"std", "std",
] } ] }
url = "2.3.1"

View file

@ -1,7 +1,7 @@
project( project(
'loupe', 'loupe',
'rust', 'rust',
version: '50.beta', version: '50.rc',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ default_options: [
'warning_level=2', 'warning_level=2',

View file

@ -847,7 +847,7 @@ impl LpImageView {
pub async fn set_background(&self) -> anyhow::Result<()> { pub async fn set_background(&self) -> anyhow::Result<()> {
let uri = self let uri = self
.current_uri() .current_uri()
.and_then(|x| url::Url::parse(x.as_str()).ok()) .and_then(|x| ashpd::Uri::parse(x.as_str()).ok())
.context("Invalid URL for background image")?; .context("Invalid URL for background image")?;
let native = self.native().context("View should have a GtkNative")?; let native = self.native().context("View should have a GtkNative")?;
let id = WindowIdentifier::from_native(&native).await; let id = WindowIdentifier::from_native(&native).await;