pdf-extract
A rust library to extract content from PDF files.
let bytes = read.unwrap;
let out = extract_text_from_mem.unwrap;
assert!;
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"));