From 2b6e75d50d22d00bae2055512ffa3f9d8c42392b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 18:34:59 +0000 Subject: [PATCH] Bump the cargo-dependencies group in /native/rust with 3 updates Bumps the cargo-dependencies group in /native/rust with 3 updates: [resvg](https://github.com/linebender/resvg), [usvg](https://github.com/linebender/resvg) and [jbig2enc-rust](https://github.com/liminalism/lege). Updates `resvg` from 0.49.0 to 0.50.0 - [Release notes](https://github.com/linebender/resvg/releases) - [Changelog](https://github.com/linebender/resvg/blob/main/CHANGELOG.md) - [Commits](https://github.com/linebender/resvg/compare/v0.49.0...v0.50.0) Updates `usvg` from 0.49.0 to 0.50.0 - [Release notes](https://github.com/linebender/resvg/releases) - [Changelog](https://github.com/linebender/resvg/blob/main/CHANGELOG.md) - [Commits](https://github.com/linebender/resvg/compare/v0.49.0...v0.50.0) Updates `jbig2enc-rust` from 0.6.0 to 0.6.1 - [Release notes](https://github.com/liminalism/lege/releases) - [Changelog](https://github.com/liminalism/Lege/blob/main/CHANGELOG.md) - [Commits](https://github.com/liminalism/lege/commits) --- updated-dependencies: - dependency-name: resvg dependency-version: 0.50.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-dependencies - dependency-name: usvg dependency-version: 0.50.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-dependencies - dependency-name: jbig2enc-rust dependency-version: 0.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-dependencies ... Signed-off-by: dependabot[bot] --- native/rust/Cargo.lock | 106 +++++++++++++++++++++++----- native/rust/jpdfium-impl/Cargo.toml | 4 +- 2 files changed, 92 insertions(+), 18 deletions(-) diff --git a/native/rust/Cargo.lock b/native/rust/Cargo.lock index 48dc2c86a..0f529d287 100644 --- a/native/rust/Cargo.lock +++ b/native/rust/Cargo.lock @@ -378,11 +378,17 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + [[package]] name = "font-types" -version = "0.12.6" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c92d9081c7ab3bd83ef1eecdfad090f3d966e3ce74106779664114cfe1a6274" +checksum = "835ae9d781464a79026cde387f9cbc650c9a4909d7cf7e658b127e3c35d2f35d" dependencies = [ "bytemuck", ] @@ -433,14 +439,15 @@ dependencies = [ [[package]] name = "harfrust" -version = "0.12.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9" +checksum = "865dcc4105d51c323d8fedbb2d75b5e9c8ecddf5613f74c82f851d0afbc97114" dependencies = [ "bitflags", "bytemuck", "read-fonts", "smallvec", + "yoke", ] [[package]] @@ -508,9 +515,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "jbig2enc-rust" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8a6f5608f817d49449ea00322d3bb8d4bcd76df2ed1f07140e956154adce87c" +checksum = "6b80796c170dd059f0828f9e5390321a702ec30f17e6744696c794c86c4eeb82" dependencies = [ "anyhow", "fax", @@ -903,20 +910,23 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "read-fonts" -version = "0.41.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709" +checksum = "bdaa4fffe9ff3ca2c353fa9729792805b9b3e324695ff5a081f860612e81b330" dependencies = [ "bytemuck", + "foldhash", "font-types", "once_cell", + "smallvec", + "yoke", ] [[package]] name = "resvg" -version = "0.49.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1572844b6727a1bf842190e9947641a68ac44bed83f50afb4bd1407a2564bee8" +checksum = "77bb4b284cf8a5c8ae721594af53387fb755d2196fddb32b2acfb4fa9251fa0c" dependencies = [ "bytemuck", "gif", @@ -1042,12 +1052,15 @@ checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" [[package]] name = "skrifa" -version = "0.44.0" +version = "0.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68" +checksum = "a7459fb60888ad9a5f367dd293fa2fb9df142cb451aa6bfd6cd66a7d6a9b739d" dependencies = [ "bytemuck", + "once_cell", "read-fonts", + "smallvec", + "yoke", ] [[package]] @@ -1065,6 +1078,12 @@ version = "1.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + [[package]] name = "strict-num" version = "0.1.1" @@ -1087,9 +1106,9 @@ dependencies = [ [[package]] name = "svgtypes" -version = "0.16.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695b5790b3131dafa99b3bbfd25a216edb3d216dad9ca208d4657bfb8f2abc3d" +checksum = "9f12b12995e3638c70618c1facb1ce65302f6a6f706b675f07c58a5d7391120e" dependencies = [ "kurbo", "siphasher", @@ -1106,6 +1125,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "thiserror" version = "2.0.21" @@ -1205,9 +1235,9 @@ checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94" [[package]] name = "usvg" -version = "0.49.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d09b73ee83641d390ad7ffd9000f347b16eb128e437675b6ff277ea5c7fcf22c" +checksum = "bdb896f04730b97805bbc3191fc57e4bf03face0f14577dd42e783c4d8c98802" dependencies = [ "base64", "data-url", @@ -1280,6 +1310,29 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" +[[package]] +name = "yoke" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + [[package]] name = "zenyuv" version = "0.1.3" @@ -1293,6 +1346,27 @@ dependencies = [ "safe_unaligned_simd", ] +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + [[package]] name = "zlib-rs" version = "0.6.8" diff --git a/native/rust/jpdfium-impl/Cargo.toml b/native/rust/jpdfium-impl/Cargo.toml index 66b5105e7..8c7f125e1 100644 --- a/native/rust/jpdfium-impl/Cargo.toml +++ b/native/rust/jpdfium-impl/Cargo.toml @@ -21,8 +21,8 @@ flate2 = "1.1.10" fast_image_resize = "6.1" # SVG rasterizer (Apache-2.0 OR MIT stack: resvg/usvg/tiny-skia/fontdb). # Replaces librsvg in the vips stack: no cairo/gdk-pixbuf/X11, no GPL. -resvg = { version = "0.49", default-features = false, features = ["text", "system-fonts", "memmap-fonts", "raster-images"] } -usvg = { version = "0.49", default-features = false, features = ["text", "system-fonts", "memmap-fonts"] } +resvg = { version = "0.50", default-features = false, features = ["text", "system-fonts", "memmap-fonts", "raster-images"] } +usvg = { version = "0.50", default-features = false, features = ["text", "system-fonts", "memmap-fonts"] } tiny-skia = { version = "0.12", default-features = false, features = ["std", "simd"] } # CMYK JPEG encoder for DeviceCMYK image conversion. `ColorType::Cmyk` writes # an Adobe APP14 (transform=0) JPEG with the samples inverted, which is exactly