From 6bd9f1eac05eb021500046f1c9af4dc4aff8b9a0 Mon Sep 17 00:00:00 2001 From: Tarek Date: Wed, 13 Mar 2024 02:59:07 +0200 Subject: [PATCH] fix: pin image crate to version 0.24.2 Previously, the build occasionally failed due to Cargo fetching version v0.24.9 of the image crate, which introduced a different implementation of DynamicImage. Although v0.24.9 is a minor version, there were compatibility issues. By specifying version 0.24.2 explicitly, this commit ensures compatibility Signed-off-by: Tarek --- data-pdf/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-pdf/Cargo.toml b/data-pdf/Cargo.toml index a1131e1..cc1ccde 100644 --- a/data-pdf/Cargo.toml +++ b/data-pdf/Cargo.toml @@ -9,7 +9,7 @@ crate-type = ["rlib"] [dependencies] once_cell = "1.16.0" -image = "0.24.2" +image = "=0.24.2" pdfium-render = { git = "https://github.com/ajrcarey/pdfium-render", rev = "d2559c1", features = [ "thread_safe", "sync",