diff --git a/vendor/README.craft-reader.md b/vendor/README.craft-reader.md index 6967ee6ff..e2b5162db 100644 --- a/vendor/README.craft-reader.md +++ b/vendor/README.craft-reader.md @@ -235,6 +235,9 @@ precision of the indices; an image without a palette keeps its own. Tests: PdfCraft's raster test `a_jp2_palette_keeps_its_colours_whatever_the_index_precision` is not ported: the unit tests show the same behavior. +The JPX reader drops an unused `alloc::vec` import; its test macros already use +`alloc::vec!`. The local source hash records this build-only cleanup. + From [PdfCraft revision 0b670caf4a090e9d83a7f41a84b4cb2144a2d33e](https://github.com/storytold/pdfcraft/tree/0b670caf4a090e9d83a7f41a84b4cb2144a2d33e/vendor), unledgered and marked `PdfCraft patch` in the source: hayro-syntax #3438 (issue #3107), with its look-ahead bound from 01af6cba3. An inline image without a filter ends at the byte diff --git a/vendor/hayro-syntax/SOURCE.json b/vendor/hayro-syntax/SOURCE.json index f2577bd30..60f69d8ce 100644 --- a/vendor/hayro-syntax/SOURCE.json +++ b/vendor/hayro-syntax/SOURCE.json @@ -164,7 +164,7 @@ "path": "src/filter/jpx.rs", "source_sha256": "c9f068629c9cbe79af6793c3c125df4631ca1455691cb1335b44ff43cb1b4056", "source_git_blob": "74efd8b31e2b2935ff2bbceda2c1ffd36ea9c20d", - "sha256": "dc3742454cfde9a994ce48984e8fcb7b18851efb36ce2d62e31629efea063a1b" + "sha256": "81213936de6d1c6b63bea041a1f88a71753e3b4238a08d9bbc7dbdfaca0970a0" }, { "path": "src/filter/lzw_flate.rs", diff --git a/vendor/hayro-syntax/src/filter/jpx.rs b/vendor/hayro-syntax/src/filter/jpx.rs index d04f39900..b2092eb35 100644 --- a/vendor/hayro-syntax/src/filter/jpx.rs +++ b/vendor/hayro-syntax/src/filter/jpx.rs @@ -2,7 +2,6 @@ use crate::bit_reader::{BitWriter, bit_mask}; use crate::filter::FilterResult; use crate::object::stream::{ImageColorSpace, ImageData, ImageDecodeParams}; use alloc::borrow::Cow; -use alloc::vec; use alloc::vec::Vec; use hayro_jpeg2000::{ColorSpace, DecodeSettings};