From d217e8272d0c22bfe65fa26fd5c2ae964c206691 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 15 Nov 2026 14:33:42 -0500 Subject: [PATCH] Fix shared codec dependency for external GridCraft builds --- Cargo.lock | 5 ++--- Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76a1d2a94..dcb7d1ea2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1010,7 +1010,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=bb57d422d0bc842cbde430 [[package]] name = "craft-stream-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=bb57d422d0bc842cbde430955825553ab7b976f4#bb57d422d0bc842cbde430955825553ab7b976f4" +source = "git+https://github.com/storytold/craft-libs?rev=201601fa2d5dab0f1aa0e6f2581751bac088a495#201601fa2d5dab0f1aa0e6f2581751bac088a495" dependencies = [ "fax", "hayro-ccitt", @@ -2469,8 +2469,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a" [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69374b3668dd45aeb3d3145cda68f2c7b4f223aaa2511e67d076f1c7d741388d" +source = "git+https://github.com/storytold/craft-libs?rev=201601fa2d5dab0f1aa0e6f2581751bac088a495#201601fa2d5dab0f1aa0e6f2581751bac088a495" dependencies = [ "hayro-ccitt", ] diff --git a/Cargo.toml b/Cargo.toml index 304a54ee8..e7e3f7623 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,8 +31,8 @@ gridcraft-math = { path = "crates/math" } # craft-libs revision. # craft-update: app-specific pretend versions apply to startup and manual checks. craft-update = { git = "https://github.com/storytold/craft-libs", rev = "bb57d422d0bc842cbde430955825553ab7b976f4", version = "=0.1.0", features = ["egui"] } -# PDF image-stream RunLength encoding, at the existing shared revision. -craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "bb57d422d0bc842cbde430955825553ab7b976f4", version = "0.1.0" } +# PDF RunLength encoding; this revision also fixes the vendored JBIG2 dependency for Git consumers. +craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "201601fa2d5dab0f1aa0e6f2581751bac088a495", version = "0.1.0" } # Compound files ([MS-CFB]) and password-encrypted OOXML packages ([MS-OFFCRYPTO]). craft-cfb = { git = "https://github.com/storytold/craft-libs", rev = "bb57d422d0bc842cbde430955825553ab7b976f4", version = "0.1.0" } craft-offcrypto = { git = "https://github.com/storytold/craft-libs", rev = "bb57d422d0bc842cbde430955825553ab7b976f4", version = "0.1.0" }