Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge pull request #1873 from Hamza0101/fix/pin-indd-dependency

Brandon Thomas4e0644766888
diff --cc Cargo.toml
index 70675a5fc,2924c8275..dc20f8aca
--- a/Cargo.toml
+++ b/Cargo.toml
@@@ -76,19 -75,22 +76,22 @@@ flo_curves = "0.8
qrcodegen = "1.8"
quick-xml = "0.41"
zip = { version = "3", default-features = false, features = ["deflate"] }
- # INDD/INDT → IDML conversion for File › Open: storytold/indd-utils, tracking its main branch
+ # INDD/INDT → IDML conversion for File › Open: storytold/indd-utils, pinned by rev as every other
+ # git dependency here is. It parses untrusted INDD files, and `branch = "main"` meant any
+ # `cargo update` -- Dependabot runs them -- pulled whatever was on that branch into the parser
+ # without review (#1599).
# (MIT OR Apache-2.0, no dependencies, builds for wasm).
- indd = { git = "https://github.com/storytold/indd-utils", branch = "main" }
+ indd = { git = "https://github.com/storytold/indd-utils", rev = "7f3060e5bce78d21ea70e0d5eacb96edce15dfbe" }
# Which paths stored in documents may be followed (craft-libs).
-craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
+craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
# Atomic file replacement for saves and exports (craft-libs).
-craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
+craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
# File › Print through the system print spooler (craft-libs).
-craft-print = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
+craft-print = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
# ICC colour management: working spaces, transforms, black point compensation (craft-libs).
-craft-cms = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
+craft-cms = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }
# ui
# Shared frontend components; keep this dependency above the engine boundary.