Skip to content

Commit

Permalink
Revert "Fix pdf thumbnails (#2666)"
Browse files Browse the repository at this point in the history
This reverts commit 1c84e23.
  • Loading branch information
matheus-consoli committed Sep 11, 2024
1 parent a385835 commit d3e6a94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

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

13 changes: 4 additions & 9 deletions crates/images/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ 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 }
resvg = "0.43.0"

[dependencies.pdfium-render]
default-features = false
features = ["image", "pdfium_6259", "sync", "thread_safe"]
git = "https://github.com/HeavenVolkoff/pdfium-render.git"
rev = "dd8118c068"
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.24", features = ["image", "sync", "thread_safe"] }
resvg = "0.43.0"

0 comments on commit d3e6a94

Please sign in to comment.