From ce144485ffc49b285c45945a0ddbbd9cccf39ba9 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 13 Nov 2026 04:57:30 -0500 Subject: [PATCH] Pin shared format catalog --- Cargo.lock | 94 ++++++++++++++++++++++++------------ Cargo.toml | 49 ++++++++++--------- crates/automation/Cargo.toml | 1 + crates/engine/Cargo.toml | 1 + crates/format/Cargo.toml | 1 + crates/io/Cargo.toml | 3 +- crates/ui-egui/Cargo.toml | 1 + 7 files changed, 95 insertions(+), 55 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7452c8907..c9868e2adc 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=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" 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=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" 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=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "thiserror 2.0.21", ] @@ -1347,17 +1347,36 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" + +[[package]] +name = "craft-eps" +version = "0.1.0" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" + +[[package]] +name = "craft-file-formats" +version = "0.1.0" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" +dependencies = [ + "craft-eps", + "craft-idml", + "craft-image-codecs", + "craft-svg", + "craft-zip", + "serde", + "serde_json", +] [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" [[package]] name = "craft-heif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "heic-rs", "rayon", @@ -1366,7 +1385,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "fixed_decimal", "icu_decimal", @@ -1386,10 +1405,20 @@ dependencies = [ "writeable", ] +[[package]] +name = "craft-idml" +version = "0.1.0" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" +dependencies = [ + "craft-xml", + "craft-zip", + "thiserror 2.0.21", +] + [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-heif", "craft-jpeg", @@ -1412,7 +1441,7 @@ dependencies = [ [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "thiserror 2.0.21", ] @@ -1420,7 +1449,7 @@ dependencies = [ [[package]] name = "craft-kra" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-xml", "craft-zip", @@ -1430,7 +1459,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "brotli-decompressor 6.3.1", "chrono", @@ -1442,7 +1471,7 @@ dependencies = [ [[package]] name = "craft-ora" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-xml", "craft-zip", @@ -1452,7 +1481,7 @@ dependencies = [ [[package]] name = "craft-pcraft-bundle" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "blake3", "craft-atomic", @@ -1465,7 +1494,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "serde", "serde_json", @@ -1475,7 +1504,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "bytemuck", "hayro", @@ -1487,7 +1516,7 @@ dependencies = [ [[package]] name = "craft-pdn" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1496,7 +1525,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-winprint-gdi", "log", @@ -1510,7 +1539,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "encoding_rs", "flate2", @@ -1521,7 +1550,7 @@ dependencies = [ [[package]] name = "craft-raw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "chrono", "craft-crw", @@ -1539,7 +1568,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-image-codecs", "craft-xml", @@ -1554,7 +1583,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "serde", "thiserror 2.0.21", @@ -1563,7 +1592,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "craft-fonts-build", "craft-i18n", @@ -1584,7 +1613,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "chrono", "dunce", @@ -1619,7 +1648,7 @@ dependencies = [ [[package]] name = "craft-xcf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "flate2", "thiserror 2.0.21", @@ -1628,7 +1657,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "quick-xml 0.41.0", "thiserror 2.0.21", @@ -1637,7 +1666,7 @@ dependencies = [ [[package]] name = "craft-zip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "flate2", "thiserror 2.0.21", @@ -3043,7 +3072,7 @@ dependencies = [ [[package]] name = "hayro" version = "0.7.1" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "bytemuck", "hayro-interpret", @@ -3073,7 +3102,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -3091,7 +3120,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -3115,7 +3144,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=6417d6b90#6417d6b90adbefb89b044d2a41e94222e7decbaf" +source = "git+https://github.com/storytold/craft-libs?rev=6de1ffc9d#6de1ffc9d784d47400fdb2983947735d362ad498" dependencies = [ "flate2", "hayro-ccitt", @@ -5357,6 +5386,7 @@ dependencies = [ "base64 0.23.1", "cap-std", "clap", + "craft-file-formats", "craft-image-codecs", "craft-psd", "getrandom 0.3.4", @@ -5460,6 +5490,7 @@ dependencies = [ "blake3", "chrono", "craft-affinity", + "craft-file-formats", "craft-image-codecs", "craft-print", "craft-psd", @@ -5500,6 +5531,7 @@ name = "photocraft-format" version = "0.23.1" dependencies = [ "blake3", + "craft-file-formats", "craft-image-codecs", "craft-pcraft-bundle", "craft-pcraft-format", @@ -5555,6 +5587,7 @@ dependencies = [ "blake3", "craft-affinity", "craft-docpath", + "craft-file-formats", "craft-image-codecs", "craft-kra", "craft-ora", @@ -5707,6 +5740,7 @@ version = "0.23.1" dependencies = [ "base64 0.23.1", "chrono", + "craft-file-formats", "craft-i18n", "craft-image-codecs", "craft-print", diff --git a/Cargo.toml b/Cargo.toml index 44e60bac1d..847e95db90 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 = "6417d6b90", features = ["serde"] } +craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d", features = ["serde"] } # internal photocraft-geom = { path = "crates/geom" } photocraft-color = { path = "crates/color" } @@ -18,10 +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 = "6417d6b90" } -photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } +photocraft-psd = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft", "ase", "office", "designcraft", "stencilcraft", "plotter"] } photocraft-raw = { path = "crates/raw" } -photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } +photocraft-affinity = { package = "craft-affinity", git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } photocraft-compose = { path = "crates/compose" } photocraft-gpu = { path = "crates/gpu" } photocraft-paint = { path = "crates/paint" } @@ -39,27 +40,27 @@ photocraft-tablet = { path = "crates/tablet" } photocraft-ipp = { path = "crates/ipp" } # external -craft-print = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } +craft-print = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } # HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784). -craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90", features = ["raster"] } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90", features = ["tree-render", "tree-render-system-fonts"] } -craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } +craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d", features = ["raster"] } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d", features = ["tree-render", "tree-render-system-fonts"] } +craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } # 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 = "6417d6b90" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } # 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 = "6417d6b90", features = ["egui"] } +craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "6de1ffc9d", features = ["egui"] } thiserror = "2" serde = { version = "1", features = ["derive", "rc"] } serde_json = "1" @@ -219,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 = "6417d6b90" } -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "6417d6b90" } +hayro = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "6de1ffc9d" } diff --git a/crates/automation/Cargo.toml b/crates/automation/Cargo.toml index bbc0aa6bb6..a204e04647 100644 --- a/crates/automation/Cargo.toml +++ b/crates/automation/Cargo.toml @@ -23,6 +23,7 @@ photocraft-doc = { workspace = true } photocraft-raster = { workspace = true } photocraft-compose = { workspace = true } photocraft-codecs = { workspace = true } +photocraft-formats = { workspace = true } photocraft-io = { workspace = true } photocraft-format = { path = "../format" } photocraft-engine = { workspace = true } diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index b5b814b1a2..8b8dd9f081 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -36,6 +36,7 @@ photocraft-plugins = { workspace = true } base64 = "0.22" blake3 = { version = "1.8", default-features = false, features = ["pure"] } photocraft-codecs = { workspace = true } +photocraft-formats = { workspace = true } flate2 = { workspace = true } craft-print = { workspace = true } diff --git a/crates/format/Cargo.toml b/crates/format/Cargo.toml index 6f17b1151b..f39abcf470 100644 --- a/crates/format/Cargo.toml +++ b/crates/format/Cargo.toml @@ -15,6 +15,7 @@ photocraft-color = { workspace = true } photocraft-raster = { workspace = true } photocraft-doc = { workspace = true } photocraft-codecs = { workspace = true } +photocraft-formats = { workspace = true } craft-pcraft-format = { workspace = true } craft-pcraft-bundle = { workspace = true } serde = { workspace = true } diff --git a/crates/io/Cargo.toml b/crates/io/Cargo.toml index e676e45b04..3f1c9948df 100644 --- a/crates/io/Cargo.toml +++ b/crates/io/Cargo.toml @@ -13,7 +13,7 @@ workspace = true # Real-file corpus tests (opt-in; `cargo xtask test-corpus`). Fail when the corpus is missing. corpus = [] # HEIC/HEIF decode (forwarded to photocraft-codecs; see its `heif` feature). -heif = ["photocraft-codecs/heif"] +heif = ["photocraft-codecs/heif", "photocraft-formats/heif"] # Test support for synthetic memory injection, estimate charges and verification across crates. testgen = [] # Editable PDF import (experimental): painted paths and embedded-font text become editable @@ -30,6 +30,7 @@ photocraft-compose = { workspace = true } photocraft-algo = { workspace = true } photocraft-psd = { workspace = true } photocraft-codecs = { workspace = true } +photocraft-formats = { workspace = true } photocraft-raw = { workspace = true } photocraft-affinity = { workspace = true } photocraft-text = { workspace = true } diff --git a/crates/ui-egui/Cargo.toml b/crates/ui-egui/Cargo.toml index 10b1838ead..d7054da0df 100644 --- a/crates/ui-egui/Cargo.toml +++ b/crates/ui-egui/Cargo.toml @@ -32,6 +32,7 @@ photocraft-paint = { workspace = true } photocraft-format = { workspace = true } # Decoding the brand mark's PNG (`brand.rs`); already linked through photocraft-io. photocraft-codecs = { workspace = true } +photocraft-formats = { workspace = true } # Reading embedded thumbnail resources (1036/1033) for recent files in Home screen. photocraft-psd = { workspace = true } egui = { workspace = true }