cargo: Update glycin

This commit is contained in:
Sophie Herold 2024-01-23 21:02:07 +01:00
parent f3b39bd470
commit 619b4f8150
4 changed files with 11 additions and 13 deletions

14
Cargo.lock generated
View file

@ -1032,9 +1032,9 @@ dependencies = [
[[package]] [[package]]
name = "glycin" name = "glycin"
version = "1.0.0-alpha.2" version = "1.0.0-alpha.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78dd20ce3bde5b9852e73990838c494b661a7ce48d8083e69638439e1d4cf55f" checksum = "b32d07bba79724f3dc4523aa66434369b938296adbad02d71a657e46fd4048ed"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-fs 2.1.0", "async-fs 2.1.0",
@ -1047,6 +1047,7 @@ dependencies = [
"glycin-utils", "glycin-utils",
"lcms2", "lcms2",
"lcms2-sys", "lcms2-sys",
"libc",
"memfd", "memfd",
"memmap2", "memmap2",
"nix 0.27.1", "nix 0.27.1",
@ -1056,9 +1057,9 @@ dependencies = [
[[package]] [[package]]
name = "glycin-utils" name = "glycin-utils"
version = "1.0.0-alpha.2" version = "1.0.0-alpha.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "040bc5c15bd3e2c05a08f9e474a1f8ad70a42ee736842dfa9727ce0b2e2342a4" checksum = "3524a7bced399319dbfab49c3bbe28486243407284bebc0757bcae24f6a509de"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"gettext-rs", "gettext-rs",
@ -1414,9 +1415,9 @@ dependencies = [
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.151" version = "0.2.152"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
[[package]] [[package]]
name = "libgweather" name = "libgweather"
@ -1488,7 +1489,6 @@ dependencies = [
"gettext-sys", "gettext-sys",
"gio", "gio",
"glycin", "glycin",
"glycin-utils",
"gtk4", "gtk4",
"gvdb-macros", "gvdb-macros",
"indexmap", "indexmap",

View file

@ -19,8 +19,7 @@ async-channel = "2.1.0"
env_logger = "0.10.0" env_logger = "0.10.0"
futures-channel = "0.3.25" futures-channel = "0.3.25"
futures-lite = "2.1.0" futures-lite = "2.1.0"
glycin = "1.0.0-alpha.2" glycin = "1.0.0-alpha.3"
glycin-utils = "1.0.0-alpha.2"
gvdb-macros = "0.1.6" gvdb-macros = "0.1.6"
indexmap = "2.0.0" indexmap = "2.0.0"
kamadak-exif = "0.5.5" kamadak-exif = "0.5.5"

View file

@ -170,7 +170,7 @@
{ {
"type": "git", "type": "git",
"url": "https://gitlab.gnome.org/sophie-h/glycin.git", "url": "https://gitlab.gnome.org/sophie-h/glycin.git",
"commit": "40b1b467ee461f9a21800f733387fc613825647b" "commit": "473b400bf04625564f807728bde5e80be3343890"
} }
] ]
}, },

View file

@ -25,7 +25,7 @@ mod file;
mod gps; mod gps;
pub use file::FileInfo; pub use file::FileInfo;
use glycin_utils::{FrameDetails, ImageInfoDetails}; use glycin::{FrameDetails, ImageInfoDetails};
pub use gps::GPSLocation; pub use gps::GPSLocation;
use crate::deps::*; use crate::deps::*;
@ -37,8 +37,7 @@ pub struct Metadata {
mime_type: Option<String>, mime_type: Option<String>,
exif: Option<exif::Exif>, exif: Option<exif::Exif>,
file_info: Option<FileInfo>, file_info: Option<FileInfo>,
// TODO: Replace with glycin in newer glycin version image_info: Option<glycin::ImageInfoDetails>,
image_info: Option<glycin_utils::ImageInfoDetails>,
frame_info: Option<FrameDetails>, frame_info: Option<FrameDetails>,
} }