Media · rusty_pdf on MATA

986 of 989 PDFs Open

On the pinned pdf.js corpus: zero panics and zero timeouts. Rendering and writing are not published yet. rusty_pdf_core is a pure Rust alternative to lopdf.

What is rusty_pdf, the pure-Rust PDF reader?

rusty_pdf is the Remade with Rust workspace for PDF. Its published crate, rusty_pdf_core, reads and edits PDF in pure Rust, with RC4 and AES decryption, broken-xref repair and access to pages, text and images. It replaces lopdf. Rendering and writing are not published yet.

1

986 of 989 PDFs Open

On the pinned pdf.js corpus: zero panics and zero timeouts. Rendering and writing are not published yet. rusty_pdf_core is a pure Rust alternative to lopdf.

rusty_pdf is the Remade with Rust pin for this lane — lopdf for reading, editing and saving PDF, with hayro and krilla next in the plan. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Reads and edits PDF with decryption, broken-xref repair and bounded hostile input. Install rusty_pdf_core, not the unrelated rusty_pdf crate.

3

How MATA uses rusty_pdf

FFAI is adopting rusty_pdf_core right now, swapping it in for lopdf in its media crate. The move is under way, not finished. A damaged or hostile PDF returns an error instead of crashing the process.

Load Building the New Internet from Dev Tools before an agent picks the stack, then audit with use-protection-please. The public conversion pin stays on remadewithrust.com/repo/rusty-pdf so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.

4

Get access and deploy

  1. Open the source: https://github.com/Remade-With-Rust/rusty_pdf.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add rusty_pdf_core

    Git pin: cargo add --git https://github.com/Remade-With-Rust/rusty_pdf.git

  3. Prove the pin with cargo check before the next agent prompt can swap it for a C or cloud default.
  4. Read the MATA Learn note: /learn/pure-rust-pdf-reader-for-document-ingest/.
  5. When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.

Why rusty_pdf is a pure-Rust PDF reader

What it keeps

rusty_pdf keeps the reading half of PDF work: objects, pages, text, scan images, decryption and repair. lopdf is what it replaces. A crate named rusty_pdf on crates.io is someone else's project, so add rusty_pdf_core instead.

Where it fits

rusty_pdf sits beside rusty_jbig2 and rusty_jpx, which decode the scan images inside PDFs, and next to rusty_jpeg in the remade_ffmpeg_rs still-image lane.