Crates.io | pdf-extract |
lib.rs | pdf-extract |
version | 0.9.0 |
created_at | 2018-01-28 20:31:24.715667+00 |
updated_at | 2025-04-03 17:52:52.456008+00 |
description | A library to extract content from pdfs |
homepage | |
repository | https://github.com/jrmuizel/pdf-extract |
max_upload_size | |
id | 48692 |
size | 474,228 |
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"));