3 releases (breaking)
0.3.0 | Jan 20, 2025 |
---|---|
0.2.0 | Dec 27, 2024 |
0.1.0 | Dec 23, 2024 |
#821 in Rust patterns
116 downloads per month
225KB
3.5K
SLoC
Livre
Livre, pronounced [livʁ] (the french word for book) aims to be a type-safe utility for parsing PDF documents.
Please note that this is a very early release, primarily meant as a motivational tool for me to work towards an actually working release in the near future.
This first version already provides a sufficient set of low-level utilities to extract all PDF primitive types in a type-safe manner.
Obtaining the PDF specification
Thankfully, the ISO standards defining the PDF specification can be downloaded free of charge. Visit the PDF Association's website to get your version.
Tentative roadmap
- (
v0.1.0
) Low-level extraction utilities for primitive PDF types - (
v0.2.0
) Parser for cross-reference dictionary - (
v0.3.0
) Eager, owned instance of theBuilder
trait - (
v0.4.0
) Parser for the general PDF structure, allowing to iterate over pages and their content - (
v0.5.0
) Parser for fonts definition - starting with "simple fonts" - (
v0.6.0
) Parser for pages' text content
Dependencies
~1.3–1.8MB
~37K SLoC