deps: scope EPS prefix update to the stream codec stack

This commit is contained in:
Terra854
2026-11-22 21:08:36 +08:00
parent 967511a41b
commit a9a0aad34f
5 changed files with 187 additions and 97 deletions
+5 -3
View File
@@ -5,13 +5,15 @@ use std::process::Command;
use serde_json::Value;
const REV: &str = "d20a82481b1f7b1d32c818b19c620338af9755d3";
const REV: &str = "d7c9632bfb3040cf45db394e7500cc93c81c49e0";
const STREAM_REV: &str = "d20a82481b1f7b1d32c818b19c620338af9755d3";
const PACKAGES: &[(&str, &str, &str)] = &[
("craft-pdf", "0.1.0", REV),
("krilla", "0.8.2", REV),
("hayro-syntax", "0.7.2", REV),
("hayro-interpret", "0.7.0", REV),
("hayro-jbig2", "0.3.0", REV),
// Share the vendored JBIG2 package pulled in by craft-stream-codecs.
("hayro-jbig2", "0.3.0", STREAM_REV),
("hayro-cmap", "0.1.0", REV),
("hayro-postscript", "0.1.0", REV),
];
@@ -32,7 +34,7 @@ pub fn run(root: &Path) -> Result<(), String> {
}
let metadata: Value = serde_json::from_slice(&output.stdout).map_err(|e| format!("cargo metadata: {e}"))?;
validate(&metadata)?;
println!("PDF: shared crate and patched backends resolve once to {REV}");
println!("PDF: shared crate and patched backends match their pinned sources");
Ok(())
}