From ae864894069c9d46440355698a732aa8c7ffd3dd Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 16 Nov 2026 10:08:08 -0500 Subject: [PATCH 1/3] render: delegate TIFF and EPS PackBits encoding to craft-stream-codecs --- Cargo.lock | 14 +++++++++++--- Cargo.toml | 2 +- crates/render/src/encode/tests_tiff.rs | 13 +++++++++++++ crates/render/src/encode/tiff.rs | 25 +------------------------ 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 783e02a9bc..d4338ac63f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1253,11 +1253,11 @@ dependencies = [ [[package]] name = "craft-stream-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "fax", "hayro-ccitt", - "hayro-jbig2", + "hayro-jbig2 0.3.0 (git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375)", "thiserror 2.0.21", ] @@ -2540,6 +2540,14 @@ dependencies = [ "hayro-ccitt", ] +[[package]] +name = "hayro-jbig2" +version = "0.3.0" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +dependencies = [ + "hayro-ccitt", +] + [[package]] name = "hayro-jpeg2000" version = "0.3.5" @@ -2561,7 +2569,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc6 dependencies = [ "flate2", "hayro-ccitt", - "hayro-jbig2", + "hayro-jbig2 0.3.0 (git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd)", "hayro-jpeg2000", "memchr", "rustc-hash 2.1.3", diff --git a/Cargo.toml b/Cargo.toml index 89d6328ea7..ae7835b750 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "a craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } +craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd", features = ["egui"] } # internal diff --git a/crates/render/src/encode/tests_tiff.rs b/crates/render/src/encode/tests_tiff.rs index 392e4ed6d2..17dea965a0 100644 --- a/crates/render/src/encode/tests_tiff.rs +++ b/crates/render/src/encode/tests_tiff.rs @@ -232,3 +232,16 @@ fn lzw_strips_read_back_as_weezl_reads_them() { assert!(same >= weezl.len().min(4_300), "{} bytes: the same for {same}", strip.len()); } } + +#[test] +fn shared_packbits_preserves_packet_bytes_and_append_contract() { + let mut out = vec![42]; + t::packbits(b"aabbccc", &mut out); + assert_eq!(out, [42, 3, b'a', b'a', b'b', b'b', 254, b'c']); + let before = out.clone(); + t::packbits(&[], &mut out); + assert_eq!(out, before); + let mut run = vec![]; + t::packbits(&[7; 129], &mut run); + assert_eq!(run, [129, 7, 0, 7]); +} diff --git a/crates/render/src/encode/tiff.rs b/crates/render/src/encode/tiff.rs index 6a01f78109..8be67aca20 100644 --- a/crates/render/src/encode/tiff.rs +++ b/crates/render/src/encode/tiff.rs @@ -282,30 +282,7 @@ fn resolution(ppi: f64) -> Values { /// `data` run-length encoded (PackBits: what TIFF's compression 32773 and PostScript's /// `RunLengthDecode` read), without an end marker. pub fn packbits(data: &[u8], out: &mut Vec) { - let mut i = 0; - while i < data.len() { - let Some(&b) = data.get(i) else { break }; - let run = data.get(i..).map_or(1, |rest| rest.iter().take(128).take_while(|x| **x == b).count()); - if run >= 3 { - out.push((257 - run) as u8); - out.push(b); - i += run; - continue; - } - // Literal bytes up to the next run of three. - let mut j = i; - while j < data.len() && j - i < 128 { - let three = data.get(j..j + 3).is_some_and(|w| w[0] == w[1] && w[1] == w[2]); - if three { - break; - } - j += 1; - } - let j = j.max(i + 1).min(data.len()); - out.push((j - i - 1) as u8); - out.extend(data.get(i..j).unwrap_or_default()); - i = j; - } + craft_stream_codecs::runlength::encode_packbits_into(data, out); } /// The TIFF options of a raster export. From aa5d0424412229046c174b7b47a404dea087a805 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 16 Nov 2026 11:25:29 -0500 Subject: [PATCH 2/3] deps: synchronize PDF backend pins with shared stream codecs --- Cargo.lock | 28 ++++++++++------------------ Cargo.toml | 16 ++++++++-------- xtask/src/pdf_deps.rs | 2 +- 3 files changed, 19 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d4338ac63f..784f78a494 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "hayro-interpret", "hayro-syntax", @@ -1257,7 +1257,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4 dependencies = [ "fax", "hayro-ccitt", - "hayro-jbig2 0.3.0 (git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375)", + "hayro-jbig2", "thiserror 2.0.21", ] @@ -2507,7 +2507,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a" [[package]] name = "hayro-cmap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "brotli", "hayro-postscript", @@ -2516,7 +2516,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -2531,20 +2531,12 @@ dependencies = [ "yoke", ] -[[package]] -name = "hayro-jbig2" -version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" -dependencies = [ - "fearless_simd", - "hayro-ccitt", -] - [[package]] name = "hayro-jbig2" version = "0.3.0" source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ + "fearless_simd", "hayro-ccitt", ] @@ -2560,16 +2552,16 @@ dependencies = [ [[package]] name = "hayro-postscript" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "flate2", "hayro-ccitt", - "hayro-jbig2 0.3.0 (git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd)", + "hayro-jbig2", "hayro-jpeg2000", "memchr", "rustc-hash 2.1.3", @@ -3365,7 +3357,7 @@ dependencies = [ [[package]] name = "krilla" version = "0.8.2" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "base64 0.22.1", "bumpalo", @@ -3474,7 +3466,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linesweeper" version = "0.5.0" -source = "git+https://github.com/storytold/craft-libs?rev=a499742a9389f47d10cdc61e4cdbf4e5f07f48cd#a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" +source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" dependencies = [ "arrayvec", "kurbo 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index ae7835b750..c38fccbb8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ rust-version = "1.95" repository = "https://github.com/storytold/vectorcraft" [workspace.dependencies] -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd", default-features = false, features = ["interpret", "write"] } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375", default-features = false, features = ["interpret", "write"] } craft-print = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd", features = ["serde"] } @@ -181,13 +181,13 @@ lto = "thin" codegen-units = 1 [patch.crates-io] -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -krilla = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +krilla = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } ecolor = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } emath = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } epaint = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } diff --git a/xtask/src/pdf_deps.rs b/xtask/src/pdf_deps.rs index 02216d18f2..bfa5f17452 100644 --- a/xtask/src/pdf_deps.rs +++ b/xtask/src/pdf_deps.rs @@ -5,7 +5,7 @@ use std::process::Command; use serde_json::Value; -const REV: &str = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd"; +const REV: &str = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375"; const PACKAGES: &[(&str, &str, &str)] = &[ ("craft-pdf", "0.1.0", REV), ("krilla", "0.8.2", REV), From ca7ad8db030b3b12a1fcdb04bf5e143abd036aab Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 16 Nov 2026 16:04:48 -0500 Subject: [PATCH 3/3] fix(deps): pin PackBits and PDF cohort to merged shared revision --- Cargo.lock | 18 +++++++++--------- Cargo.toml | 18 +++++++++--------- xtask/src/pdf_deps.rs | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 784f78a494..0b19bf0be7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "hayro-interpret", "hayro-syntax", @@ -1253,7 +1253,7 @@ dependencies = [ [[package]] name = "craft-stream-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "fax", "hayro-ccitt", @@ -2507,7 +2507,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a" [[package]] name = "hayro-cmap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "brotli", "hayro-postscript", @@ -2516,7 +2516,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -2534,7 +2534,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -2552,12 +2552,12 @@ dependencies = [ [[package]] name = "hayro-postscript" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "flate2", "hayro-ccitt", @@ -3357,7 +3357,7 @@ dependencies = [ [[package]] name = "krilla" version = "0.8.2" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "base64 0.22.1", "bumpalo", @@ -3466,7 +3466,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linesweeper" version = "0.5.0" -source = "git+https://github.com/storytold/craft-libs?rev=ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375#ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" +source = "git+https://github.com/storytold/craft-libs?rev=0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e#0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" dependencies = [ "arrayvec", "kurbo 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index c38fccbb8e..21ec59b66f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ rust-version = "1.95" repository = "https://github.com/storytold/vectorcraft" [workspace.dependencies] -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375", default-features = false, features = ["interpret", "write"] } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e", default-features = false, features = ["interpret", "write"] } craft-print = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd", features = ["serde"] } @@ -39,7 +39,7 @@ craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "a craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } -craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd" } craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "a499742a9389f47d10cdc61e4cdbf4e5f07f48cd", features = ["egui"] } # internal @@ -181,13 +181,13 @@ lto = "thin" codegen-units = 1 [patch.crates-io] -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -krilla = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } -linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +krilla = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } +linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e" } ecolor = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } emath = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } epaint = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" } diff --git a/xtask/src/pdf_deps.rs b/xtask/src/pdf_deps.rs index bfa5f17452..1f42f2f72a 100644 --- a/xtask/src/pdf_deps.rs +++ b/xtask/src/pdf_deps.rs @@ -5,7 +5,7 @@ use std::process::Command; use serde_json::Value; -const REV: &str = "ed850ede0f26ef0b8ff9b4d1fc08466a1cf21375"; +const REV: &str = "0cca4ac66f9f4576b3acc5f84d7a2a2ae9fb943e"; const PACKAGES: &[(&str, &str, &str)] = &[ ("craft-pdf", "0.1.0", REV), ("krilla", "0.8.2", REV),