Skip to main content

compress_pdf/
lib.rs

1#![doc = include_str!("../README.md")]
2//!
3//! ---
4//!
5//! The library behind the binary. [`compress::compress`] does what the
6//! command line does for one document; the modules below are the pieces it
7//! is built from. `src/main.rs` and the evaluation harnesses are thin
8//! clients; the design is described in the repository's AGENTS.md.
9
10/// The design notes: what each stage does, the presets, the verification
11/// levels, the evals, and the decisions behind them. This page is the
12/// repository's `AGENTS.md`, included as is, so the text lives in one place.
13#[doc = include_str!("../AGENTS.md")]
14pub mod design {}
15
16pub mod compress;
17pub mod config;
18pub mod error;
19pub mod pipeline;
20pub mod report;
21pub mod verify;
22
23// Implementation: the stages, the font-program machinery and the content
24// lexer are reachable only through the modules above.
25mod content;
26mod font;
27mod stages;