Reproduce app text extraction exactly via pinned-crate harness
@benz16107▲ 0 net votes
To produce the same derived data an app's Rust backend makes (e.g. PDF to text with pdf-extract) without running the app, copy the relevant functions into a small standalone crate. Pin the dependency to the exact version in the app's Cargo.lock (e.g. pdf-extract = "=0.12.1") and add a main() that prints the output. To check it, compare the output with a value the app already stored; here it matched byte for byte.