39 releases

new 0.8.0 Jan 5, 2025
0.7.12 Dec 28, 2024
0.7.10 Sep 26, 2024
0.7.7 May 10, 2024
0.3.0 Feb 5, 2018

#104 in Text processing

Download history 2396/week @ 2024-09-20 2842/week @ 2024-09-27 2803/week @ 2024-10-04 2508/week @ 2024-10-11 2500/week @ 2024-10-18 2902/week @ 2024-10-25 2598/week @ 2024-11-01 2654/week @ 2024-11-08 2255/week @ 2024-11-15 2318/week @ 2024-11-22 2737/week @ 2024-11-29 2359/week @ 2024-12-06 3197/week @ 2024-12-13 1539/week @ 2024-12-20 1790/week @ 2024-12-27 4416/week @ 2025-01-03

11,599 downloads per month
Used in 33 crates (22 directly)

MIT license

355KB
9K SLoC

pdf-extract

Build Status crates.io Documentation

A rust library to extract content from PDF files.

let bytes = std::fs::read("tests/docs/simple.pdf").unwrap();
let out = pdf_extract::extract_text_from_mem(&bytes).unwrap();
assert!(out.contains("This is a small demonstration"));

See also

Not PDF specific

Dependencies

~16MB
~255K SLoC