Skip to content

Commit

Permalink
Bring back custom fork
Browse files Browse the repository at this point in the history
 - Bump the minimum pdfium lib api version (updated bundled lib in native-deps)
 - Custom fork is still required because upstream added a hard limit on chono version 0.4.31, which is incompatible with some of our dependencies which require newer versions
  • Loading branch information
HeavenVolkoff committed Sep 17, 2024
1 parent 53c25f5 commit cb1a144
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 34 deletions.
33 changes: 3 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions crates/images/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ tracing = { workspace = true }
# Specific Images dependencies
bincode = { version = "=2.0.0-rc.3", features = ["alloc", "derive"], optional = true }
# Disable defaults for libheif* to avoid bindgen and use pre-compiled headers
libheif-rs = { version = "1.0", default-features = false, optional = true }
libheif-sys = { version = "2.1", default-features = false, optional = true }
pdfium-render = { version = "0.8", features = ["image", "sync", "thread_safe"] }
resvg = "0.43.0"
libheif-rs = { version = "1.0", default-features = false, optional = true }
libheif-sys = { version = "2.1", default-features = false, optional = true }
resvg = "0.43.0"

[dependencies.pdfium-render]
default-features = false
features = ["image", "pdfium_6666", "sync", "thread_safe"]
git = "https://github.com/HeavenVolkoff/pdfium-render.git"
rev = "7518e39c1b"

0 comments on commit cb1a144

Please sign in to comment.