From ce020c5811d8621ddf26fc28d098bb5a8675636f Mon Sep 17 00:00:00 2001 From: skylar Date: Sun, 25 Oct 2026 15:45:08 -0600 Subject: [PATCH 1/2] chore(deps): bump roxmltree, miniz_oxide, serde_json, fixed_decimal craft-print: roxmltree 0.20 -> 0.21 (locked 0.21.2, fixes a stack overflow on deeply nested XML) and miniz_oxide 0.8 -> 0.9. Lockfile only: serde_json 1.0.154, fixed_decimal 0.7.3. --- Cargo.lock | 23 ++++++++++++++++------- crates/print/Cargo.toml | 8 ++++---- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70c29ac2..ee642d1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -899,8 +899,8 @@ name = "craft-print" version = "0.1.0" dependencies = [ "craft-winprint-gdi", - "miniz_oxide 0.8.9", - "roxmltree", + "miniz_oxide 0.9.1", + "roxmltree 0.21.2", "tempfile", "winprint", "winsafe", @@ -1557,9 +1557,9 @@ checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" [[package]] name = "fixed_decimal" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79c3c892f121fff406e5dd6b28c1b30096b95111c30701a899d4f2b18da6d1bd" +checksum = "2214fb00f669ee96bee5bb29dfb1ddabe058b2bc426817efc79afa03c9bc55ae" dependencies = [ "displaydoc", "smallvec", @@ -4160,6 +4160,15 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" +[[package]] +name = "roxmltree" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9da7f59328b09405b181fee1018925fad50f157afb43c0c0f5c522c256dd5907" +dependencies = [ + "memchr", +] + [[package]] name = "rustc-hash" version = "1.1.0" @@ -4433,9 +4442,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.151" +version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ "itoa", "memchr", @@ -5537,7 +5546,7 @@ dependencies = [ "kurbo 0.11.3", "log", "pico-args", - "roxmltree", + "roxmltree 0.20.0", "simplecss", "siphasher", "strict-num", diff --git a/crates/print/Cargo.toml b/crates/print/Cargo.toml index 1f5aa1a8..1e6a6350 100644 --- a/crates/print/Cargo.toml +++ b/crates/print/Cargo.toml @@ -27,11 +27,11 @@ winsafe = { version = "0.0.29", default-features = false, features = ["winspool" # The job file's private folder. tempfile = "3" # Reading the PrintTicket and PrintCapabilities the driver hands back. -roxmltree = "0.20" +roxmltree = "0.21" # Inflating the print-ready PDF's cross-reference and object streams (src/sheets.rs). -miniz_oxide = "0.8" +miniz_oxide = "0.9" [dev-dependencies] tempfile = "3" -roxmltree = "0.20" -miniz_oxide = "0.8" +roxmltree = "0.21" +miniz_oxide = "0.9" From 8e42b9ff4e26cacd8a76a15b5379e330b6c8d77f Mon Sep 17 00:00:00 2001 From: skylar Date: Sun, 25 Oct 2026 16:52:57 -0600 Subject: [PATCH 2/2] fix(print): keep miniz_oxide at 0.8 --- Cargo.lock | 2 +- crates/print/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee642d1f..095fcc75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -899,7 +899,7 @@ name = "craft-print" version = "0.1.0" dependencies = [ "craft-winprint-gdi", - "miniz_oxide 0.9.1", + "miniz_oxide 0.8.9", "roxmltree 0.21.2", "tempfile", "winprint", diff --git a/crates/print/Cargo.toml b/crates/print/Cargo.toml index 1e6a6350..00ea396a 100644 --- a/crates/print/Cargo.toml +++ b/crates/print/Cargo.toml @@ -29,9 +29,9 @@ tempfile = "3" # Reading the PrintTicket and PrintCapabilities the driver hands back. roxmltree = "0.21" # Inflating the print-ready PDF's cross-reference and object streams (src/sheets.rs). -miniz_oxide = "0.9" +miniz_oxide = "0.8" [dev-dependencies] tempfile = "3" roxmltree = "0.21" -miniz_oxide = "0.9" +miniz_oxide = "0.8"