Crates.io | pdf-extract |
lib.rs | pdf-extract |
version | 0.7.10 |
source | src |
created_at | 2018-01-28 20:31:24.715667 |
updated_at | 2024-09-26 20:27:48.613513 |
description | A library to extract content from pdfs |
homepage | |
repository | https://github.com/jrmuizel/pdf-extract |
max_upload_size | |
id | 48692 |
size | 448,059 |
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"));