I'm not sure how much overlap there is between this project and Tectonic [1], but that's what I use personally for local PDF generation, and it's also using a good bit of Rust.

Just thought I'd mention since it's related and I really like the project.

[1] https://github.com/tectonic-typesetting/tectonic