folio_cos/lib.rs
1//! COS (Carousel Object System) object model and PDF parser.
2//!
3//! This is the foundation of the Folio PDF library. It provides:
4//! - The PDF object model (`PdfObject` enum)
5//! - A PDF tokenizer and parser
6//! - Cross-reference table parsing (both table and stream formats)
7//! - PDF serialization
8//! - The `CosDoc` document type for low-level PDF access
9
10mod document;
11mod object;
12pub mod parser;
13mod serialize;
14pub mod tokenizer;
15mod xref;
16
17pub use document::CosDoc;
18pub use object::{ObjectId, PdfObject, PdfStream};
19pub use xref::XrefEntry;