Gergő Móricz b03670a8b7
feat: parse PDFs on fc side and reject if too long for timeout (FIR-2083) (#1592)
* feat: pdf-parser, implementation in scrapeURL

* use pdf-parser for page count instead of mu

* fix(pdf-parser): bindings

* feat(scrapeURL/pdf): adjust MILLISECONDS_PER_PAGE

* implement post-runsync polling and fix

* fix(Dockerfile): copy in the pdf-parser source code

* fix(scrapeURL/pdf): better error for timeout below 0
2025-05-23 13:45:53 +02:00

12 lines
144 B
TOML

[package]
name = "pdf-parser"
version = "0.1.0"
edition = "2021"
[dependencies]
libc = "0.2.0"
lopdf = "0.36.0"
[lib]
crate-type = ["cdylib"]