Skip to content

Commit

Permalink
use a patched poppler-rs dependency to build on windows
Browse files Browse the repository at this point in the history
To workaround around https://gitlab.gnome.org/World/Rust/poppler-rs/-/issues/1 whilst the issue is not acknowledged/fixed.

Workaround for flxzt#1228
  • Loading branch information
Doublonmousse committed Sep 28, 2024
1 parent bbf5417 commit f78aa7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ usvg = "0.43.0"
winresource = "0.1.17"
xmlwriter = "0.1.0"
# Enabling feature > v20_9 causes linker errors on mingw
poppler-rs = { version = "0.24.1", features = ["v20_9"] }
# using a custom patched version to work on windows
# as long as https://gitlab.gnome.org/World/Rust/poppler-rs/-/issues/1
# is not fixed
poppler-rs = { git = "https://github.com/Doublonmousse/poppler-patch", features = ["v20_9"] }

[patch.crates-io]
# once a new piet (current v0.6.2) is released with updated cairo and kurbo deps, this can be removed.
Expand Down

0 comments on commit f78aa7e

Please sign in to comment.