Crates.io | pdf-extract |
lib.rs | pdf-extract |
version | 0.7.7 |
source | src |
created_at | 2018-01-28 20:31:24.715667 |
updated_at | 2024-05-10 13:12:15.524803 |
description | A library to extract content from pdfs |
homepage | |
repository | https://github.com/jrmuizel/pdf-extract |
max_upload_size | |
id | 48692 |
size | 448,939 |
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"));