Skip to content

Commit

Permalink
fix: pin image crate to version 0.24.2
Browse files Browse the repository at this point in the history
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 <tareknaser360@gmail.com>
  • Loading branch information
tareknaser committed Mar 13, 2024
1 parent 43ba24d commit 6bd9f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-pdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6bd9f1e

Please sign in to comment.