Crates.io | pdf-extract-temporary-mitigation-panic |
lib.rs | pdf-extract-temporary-mitigation-panic |
version | 0.7.1 |
source | src |
created_at | 2023-02-18 15:41:51.137058 |
updated_at | 2023-02-18 15:41:51.137058 |
description | A library to extract content from pdfs |
homepage | |
repository | https://github.com/Endle/pdf-extract/tree/publish |
max_upload_size | |
id | 788302 |
size | 737,259 |
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"));