Stet is a PostScript Level 3 interpreter, a PDF reader, and a print-quality PDF writer, all in pure Rust. All three converge on a single DisplayList type, so any output device (PNG, desktop viewer, PDF, WASM) works with any source — you can render a PS file to PDF or PNG, a PDF to PNG, or to a display list for a custom backend all through the same pipeline.
The link above is the WASM build running entirely client-side — drop a PS, EPS, or PDF and it renders. It's a capability sampler, not a production viewer: no system fonts (browser sandbox), fixed zoom stops, single-threaded at ~2× native overhead.
Why build it: GhostScript is AGPL, pdfium is enormous, and there wasn't a pure-Rust stack that covered PostScript and PDF end-to-end. Apache-2.0 OR MIT.
Source: https://github.com/AndyCappDev/stet Install: cargo install stet-cli for the CLI, cargo add stet for the library (the stet facade crate re-exports the whole toolkit).