7 releases (4 breaking)

new 0.5.2 Dec 20, 2024
0.5.1 Nov 29, 2024
0.4.0 Nov 22, 2024
0.3.0 Nov 13, 2024
0.1.0 Oct 29, 2024

#1276 in Text processing

Download history 125/week @ 2024-10-28 131/week @ 2024-11-04 113/week @ 2024-11-11 124/week @ 2024-11-18 191/week @ 2024-11-25 101/week @ 2024-12-02 113/week @ 2024-12-09

534 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
~23K SLoC