8 releases (4 breaking)

0.5.3 Dec 22, 2024
0.5.2 Dec 20, 2024
0.5.1 Nov 29, 2024
0.4.0 Nov 22, 2024
0.1.0 Oct 29, 2024

#1459 in Text processing

Download history 64/week @ 2024-10-23 117/week @ 2024-10-30 77/week @ 2024-11-06 115/week @ 2024-11-13 120/week @ 2024-11-20 209/week @ 2024-11-27 86/week @ 2024-12-04 5/week @ 2024-12-11 215/week @ 2024-12-18 42/week @ 2024-12-25 27/week @ 2025-01-01 46/week @ 2025-01-08

331 downloads per month

Custom license

1MB
3.5K SLoC

PdfRust

Pdf parser in pure Rust.

References : https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf.

Installation

cargo install pdfrust

Usage

Text

pdfrust <pdf_file>.pdf

Text characters in tabular format

pdfrust --chars <pdf_file>.pdf

Page raw content stream

pdfrust --raw-content <pdf_file>.pdf

Fonts

pdfrust --font <pdf_file>.pdf

Contributions

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Make sure that unit and integration tests pass.

cargo test

License

Distributed under the GNU GPL v3.0 License. See LICENSE.txt for more information.

Dependencies

~0.7–1.2MB
~24K SLoC