diff --git a/Cargo.lock b/Cargo.lock index b425c19f..930fa37e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -980,12 +980,12 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a042cf265fea6ecf270fed588d026f157bf405d0#a042cf265fea6ecf270fed588d026f157bf405d0" +source = "git+https://github.com/storytold/craft-libs?rev=27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb#27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a042cf265fea6ecf270fed588d026f157bf405d0#a042cf265fea6ecf270fed588d026f157bf405d0" +source = "git+https://github.com/storytold/craft-libs?rev=27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb#27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" dependencies = [ "hayro-syntax", "thiserror 2.0.21", @@ -994,7 +994,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=a042cf265fea6ecf270fed588d026f157bf405d0#a042cf265fea6ecf270fed588d026f157bf405d0" +source = "git+https://github.com/storytold/craft-libs?rev=27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb#27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" dependencies = [ "egui", "log", @@ -2730,7 +2730,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a" [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=a042cf265fea6ecf270fed588d026f157bf405d0#a042cf265fea6ecf270fed588d026f157bf405d0" +source = "git+https://github.com/storytold/craft-libs?rev=27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb#27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" dependencies = [ "hayro-ccitt", ] @@ -2744,7 +2744,7 @@ checksum = "c75ab947623ef4ccaa7acf0579edf7cbb5a73838e3839a7be73335e522f433a1" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=a042cf265fea6ecf270fed588d026f157bf405d0#a042cf265fea6ecf270fed588d026f157bf405d0" +source = "git+https://github.com/storytold/craft-libs?rev=27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb#27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" dependencies = [ "hayro-jbig2", "hayro-jpeg2000", diff --git a/Cargo.toml b/Cargo.toml index 5cfd1dd2..b6d20e1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,8 @@ rust-version = "1.95" repository = "https://github.com/storytold/effectcraft" [workspace.dependencies] -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "a042cf265fea6ecf270fed588d026f157bf405d0", version = "=0.1.0", default-features = false, features = ["read"] } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "a042cf265fea6ecf270fed588d026f157bf405d0" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb", version = "=0.1.0", default-features = false, features = ["read"] } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb" } # internal effectcraft-time = { path = "crates/time" } effectcraft-geom = { path = "crates/geom" } @@ -106,7 +106,7 @@ pollster = "0.4" # ui # Shared frontend components; keep this dependency above the engine boundary. -craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "a042cf265fea6ecf270fed588d026f157bf405d0", features = ["serde"] } +craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb", features = ["serde"] } egui = "0.36" eframe = { version = "0.36", default-features = false } egui_kittest = "0.36" @@ -216,5 +216,5 @@ lto = "thin" codegen-units = 1 [patch.crates-io] -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "a042cf265fea6ecf270fed588d026f157bf405d0", version = "=0.7.2" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "a042cf265fea6ecf270fed588d026f157bf405d0", version = "=0.3.0" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb", version = "=0.7.2" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb", version = "=0.3.0" } diff --git a/crates/pdf/README.md b/crates/pdf/README.md index 8e9742ff..3824f447 100644 --- a/crates/pdf/README.md +++ b/crates/pdf/README.md @@ -138,7 +138,7 @@ ffmpeg elsewhere) to check the code tables against an independent implementation ## Shared parser setup and bounds The workspace pins `craft-pdf` to `craft-libs` Git revision -`a042cf265fea6ecf270fed588d026f157bf405d0`, with `default-features = false` and only the explicit `read` +`27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb`, with `default-features = false` and only the explicit `read` feature. This excludes the backend's bundled fonts and Adobe CMaps and preserves EffectCraft's font and asset policies. The shared parser does not change the supported drawing operators, image codecs, continuously rasterized SVG tree, editable shapes, or EPS interpreter. diff --git a/xtask/src/pdf_deps.rs b/xtask/src/pdf_deps.rs index 3574adb3..7be6aa20 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 = "a042cf265fea6ecf270fed588d026f157bf405d0"; +const REV: &str = "27e60765bcdecdbb6e8e8cc26b0b22ec4ef57adb"; const PACKAGES: &[(&str, &str)] = &[("craft-pdf", "0.1.0"), ("hayro-syntax", "0.7.2"), ("hayro-jbig2", "0.3.0")]; pub fn run(root: &Path) -> Result<(), String> {