19 lines
848 B
Rust
19 lines
848 B
Rust
//! The PDF side of the core (R4, plan `.claude/tasks/plans/2026-10-17-rust-r4-pdf-core.md`).
|
|
//!
|
|
//! R4.2 brings the reader: the attachment located by a byte scan over the file (never a parse
|
|
//! of the object graph, BLK-009), inflated under a cap, probed as JSON, then handed to the
|
|
//! R2 session import. Every rule is the one `packages/pdf/src/attachment/scan.ts` applied,
|
|
//! pinned by the frozen oracles O7 (`tests/oracles/r4/read.json`), O8 (`tolerance.json`) and
|
|
//! O9 (`inflate.json`). The writer (`write`) and the import entry (`import`) follow; the
|
|
//! archive check tool (`compare`, R4.7) sits on both, behind the `cli` feature of its binary.
|
|
|
|
#[cfg(feature = "cli")]
|
|
pub mod compare;
|
|
#[cfg(feature = "pdf-read")]
|
|
pub mod import;
|
|
pub mod json_js;
|
|
#[cfg(feature = "pdf-read")]
|
|
pub mod read;
|
|
#[cfg(feature = "pdf-write")]
|
|
pub mod write;
|