Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 928 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 928 Bytes

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