From 2d4935bc38bbc79810aee5561feac2cdc71f758f Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 13 Nov 2026 01:25:00 -0500 Subject: [PATCH] Pin current craft-libs codec APIs --- Cargo.lock | 56 +++++++++++++++++++++++++++--------------------------- Cargo.toml | 46 ++++++++++++++++++++++---------------------- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 18ed84b71b..21b5f977f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1329,7 +1329,7 @@ dependencies = [ [[package]] name = "craft-affinity" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "crc32fast", "flate2", @@ -1340,7 +1340,7 @@ dependencies = [ [[package]] name = "craft-crw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "thiserror 2.0.21", ] @@ -1348,17 +1348,17 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" [[package]] name = "craft-heif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "heic-rs", "rayon", @@ -1367,7 +1367,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "fixed_decimal", "icu_decimal", @@ -1390,7 +1390,7 @@ dependencies = [ [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-heif", "craft-jpeg", @@ -1413,7 +1413,7 @@ dependencies = [ [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "thiserror 2.0.21", ] @@ -1421,7 +1421,7 @@ dependencies = [ [[package]] name = "craft-kra" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-xml", "craft-zip", @@ -1431,7 +1431,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "brotli-decompressor 6.3.1", "chrono", @@ -1443,7 +1443,7 @@ dependencies = [ [[package]] name = "craft-ora" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-xml", "craft-zip", @@ -1453,7 +1453,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "serde", "serde_json", @@ -1463,7 +1463,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "bytemuck", "hayro", @@ -1475,7 +1475,7 @@ dependencies = [ [[package]] name = "craft-pdn" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1484,7 +1484,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-winprint-gdi", "log", @@ -1498,7 +1498,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "encoding_rs", "flate2", @@ -1509,7 +1509,7 @@ dependencies = [ [[package]] name = "craft-raw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "chrono", "craft-crw", @@ -1527,7 +1527,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-xml", "flate2", @@ -1539,7 +1539,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "serde", "thiserror 2.0.21", @@ -1548,7 +1548,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "craft-fonts-build", "craft-i18n", @@ -1569,7 +1569,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "chrono", "dunce", @@ -1604,7 +1604,7 @@ dependencies = [ [[package]] name = "craft-xcf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "quick-xml 0.41.0", "thiserror 2.0.21", @@ -1622,7 +1622,7 @@ dependencies = [ [[package]] name = "craft-zip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "flate2", "thiserror 2.0.21", @@ -3039,7 +3039,7 @@ dependencies = [ [[package]] name = "hayro" version = "0.7.1" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "bytemuck", "hayro-interpret", @@ -3069,7 +3069,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -3087,7 +3087,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -3111,7 +3111,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=a47b78256#a47b78256c6acf3d7fdc4bc7cfbc25c373eac522" +source = "git+https://github.com/storytold/craft-libs?rev=fdfb18885#fdfb18885507e60604d3188078e3a34df82128ec" dependencies = [ "flate2", "hayro-ccitt", diff --git a/Cargo.toml b/Cargo.toml index c7ac6aa0ce..ddbae7409d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0" rust-version = "1.95" [workspace.dependencies] -craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256", features = ["serde"] } +craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885", features = ["serde"] } # internal photocraft-geom = { path = "crates/geom" } photocraft-color = { path = "crates/color" } @@ -18,10 +18,10 @@ photocraft-cms = { path = "crates/cms" } photocraft-raster = { path = "crates/raster" } photocraft-doc = { path = "crates/doc" } photocraft-ops = { path = "crates/ops" } -photocraft-psd = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "a47b78256", features = ["heif"] } +photocraft-psd = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "fdfb18885", features = ["heif"] } photocraft-raw = { path = "crates/raw" } -photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } +photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } photocraft-compose = { path = "crates/compose" } photocraft-gpu = { path = "crates/gpu" } photocraft-paint = { path = "crates/paint" } @@ -39,26 +39,26 @@ photocraft-tablet = { path = "crates/tablet" } photocraft-ipp = { path = "crates/ipp" } # external -craft-print = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } +craft-print = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } # HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784). -craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256", features = ["raster"] } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } +craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885", features = ["raster"] } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } # Interface translations: lookup, fallback, CLDR plurals and language names over the craft-i18n # catalogs that `crates/ui-egui/build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, at # the commit in `craft-i18n.rev`). Already in the tree through craft-ui. -craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } # craft-update: app-specific pretend versions apply to startup and manual checks. -craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "a47b78256", features = ["egui"] } +craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "fdfb18885", features = ["egui"] } thiserror = "2" serde = { version = "1", features = ["derive", "rc"] } serde_json = "1" @@ -218,7 +218,7 @@ egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "6d518fc7 egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" } # craft-pdf's vendored Hayro trees: consumers patch the same craft-libs revision (crates/pdf README). -hayro = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "a47b78256" } +hayro = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "fdfb18885" }