Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pdf

> 编程语言
Open source

Rust library to read, manipulate and write PDF files.

1.7K stars0 likes2 views
WebsiteGitHub

About

Rust library to read, manipulate and write PDF files.

PR policy.

If PRs are not written by yourself (code or PR text), or there is the suspicion thereof, the PR will be rejected.

Please create only one PR containing multiple commits. Merging multiple PRs can cause merge conflicts and usually friction that could be avoided. You may use AI in your own work, but code submitted to this repository needs to be writen by a human.

pdf-rs

Read, alter and write PDF files.

Modifying and writing PDFs is still experimental.

One easy way you can contribute is to add different PDF files to tests/files and see if they pass the tests (cargo test).

Feel free to contribute with ideas, issues or code! Please join us on Zulip if you have any questions or problems.

Workspace

This repository uses a Cargo Workspace and default members. This means by default only the pdf library is build. To build additional parts, pass --package=read to build the subcrate you are interested in (here the read example).

Examples

Examples are located in pdf/examples/ and can be executed using:

cargo run --example {content,metadata,names,read,text} -- <files/{choose a pdf}>

Renderer and Viewer

A library for rendering PDFs via Pathfinder and minimal viewer can be found here.

Inspect

There is a tool for visualizing a PDF file as an interactive hierarchy of primitives at inspect-prim. Just clone and cargo run.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustpdfpdf-filesrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言