From a01746f28dfafd9d24d6ae31483a0804b7fb6ad5 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 13 Nov 2026 05:26:18 -0500 Subject: [PATCH] Pin shared format catalog and SVG resolver fixes --- Cargo.lock | 66 +++++++++++++++++++++++++++--------------------------- Cargo.toml | 50 ++++++++++++++++++++--------------------- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f09f6da6037..c64722c355f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1320,7 +1320,7 @@ dependencies = [ [[package]] name = "craft-affinity" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "crc32fast", "flate2", @@ -1331,7 +1331,7 @@ dependencies = [ [[package]] name = "craft-atomic" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "rustix 1.1.5", ] @@ -1339,7 +1339,7 @@ dependencies = [ [[package]] name = "craft-crw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "thiserror 2.0.21", ] @@ -1347,17 +1347,17 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" [[package]] name = "craft-eps" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" [[package]] name = "craft-file-formats" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-eps", "craft-idml", @@ -1371,12 +1371,12 @@ dependencies = [ [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" [[package]] name = "craft-heif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "heic-rs", "rayon", @@ -1385,7 +1385,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "fixed_decimal", "icu_decimal", @@ -1408,7 +1408,7 @@ dependencies = [ [[package]] name = "craft-idml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-xml", "craft-zip", @@ -1418,7 +1418,7 @@ dependencies = [ [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-heif", "craft-jpeg", @@ -1441,7 +1441,7 @@ dependencies = [ [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "thiserror 2.0.21", ] @@ -1449,7 +1449,7 @@ dependencies = [ [[package]] name = "craft-kra" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-xml", "craft-zip", @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "brotli-decompressor 6.3.1", "chrono", @@ -1471,7 +1471,7 @@ dependencies = [ [[package]] name = "craft-ora" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-xml", "craft-zip", @@ -1481,7 +1481,7 @@ dependencies = [ [[package]] name = "craft-pcraft-bundle" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "blake3", "craft-atomic", @@ -1494,7 +1494,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "serde", "serde_json", @@ -1504,7 +1504,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "bytemuck", "hayro", @@ -1516,7 +1516,7 @@ dependencies = [ [[package]] name = "craft-pdn" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1525,7 +1525,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-winprint-gdi", "log", @@ -1539,7 +1539,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "encoding_rs", "flate2", @@ -1550,7 +1550,7 @@ dependencies = [ [[package]] name = "craft-raw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "chrono", "craft-crw", @@ -1568,7 +1568,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-image-codecs", "craft-xml", @@ -1583,7 +1583,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "serde", "thiserror 2.0.21", @@ -1592,7 +1592,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "craft-fonts-build", "craft-i18n", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "chrono", "dunce", @@ -1648,7 +1648,7 @@ dependencies = [ [[package]] name = "craft-xcf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1657,7 +1657,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "quick-xml 0.41.0", "thiserror 2.0.21", @@ -1666,7 +1666,7 @@ dependencies = [ [[package]] name = "craft-zip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "flate2", "thiserror 2.0.21", @@ -3072,7 +3072,7 @@ dependencies = [ [[package]] name = "hayro" version = "0.7.1" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "bytemuck", "hayro-interpret", @@ -3102,7 +3102,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -3120,7 +3120,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -3144,7 +3144,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=eed3c28cf#eed3c28cf016723d004d6f2c79c61424c15d4558" +source = "git+https://github.com/storytold/craft-libs?rev=f2b401b4f#f2b401b4f5b285342785527d6f04408127e1bb03" dependencies = [ "flate2", "hayro-ccitt", diff --git a/Cargo.toml b/Cargo.toml index 0260a548324..9a62d053f8e 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 = "eed3c28cf", features = ["serde"] } +craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f", features = ["serde"] } # internal photocraft-geom = { path = "crates/geom" } photocraft-color = { path = "crates/color" } @@ -18,11 +18,11 @@ 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 = "eed3c28cf" } -photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } +photocraft-psd = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } photocraft-raw = { path = "crates/raw" } -photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } +photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } photocraft-compose = { path = "crates/compose" } photocraft-gpu = { path = "crates/gpu" } photocraft-paint = { path = "crates/paint" } @@ -40,27 +40,27 @@ photocraft-tablet = { path = "crates/tablet" } photocraft-ipp = { path = "crates/ipp" } # external -craft-print = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } +craft-print = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } # HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784). -craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf", features = ["raster"] } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf", features = ["tree-render", "tree-render-system-fonts"] } -craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } +craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f", features = ["raster"] } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f", features = ["tree-render", "tree-render-system-fonts"] } +craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } # 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 = "eed3c28cf" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } # 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 = "eed3c28cf", features = ["egui"] } +craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "f2b401b4f", features = ["egui"] } thiserror = "2" serde = { version = "1", features = ["derive", "rc"] } serde_json = "1" @@ -220,7 +220,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 = "eed3c28cf" } -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "eed3c28cf" } +hayro = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "f2b401b4f" }