pdftract/crates
jedarden 419f18e41a feat(pdftract-154mz): fix canonicalization module compilation
Make diagnostics module visible to fingerprint module and fix
hash_page_geometry signature to match usage.

Changes:
- Add `pub mod diagnostics;` to lib.rs for module visibility
- Modify hash_page_geometry to create diagnostics internally

The canonicalize module already has complete implementation:
- canonicalize_f64: banker's rounding to 4dp for geometry
- normalize_content_stream: whitespace normalization via lexer
- serialize_dict_canonical: sorted-key dict serialization
- hash_resource_dict_canonical: order-independent resource hashing

Verification: notes/pdftract-154mz.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 19:24:38 -04:00
..
pdftract-cer-diff fix(pdftract-2t9): update regression-corpus step image and secret 2026-05-18 01:20:53 -04:00
pdftract-cli docs(pdftract-49f8): establish Cargo.lock policy and documentation 2026-05-20 18:13:14 -04:00
pdftract-core feat(pdftract-154mz): fix canonicalization module compilation 2026-05-20 19:24:38 -04:00
pdftract-py docs(pdftract-2pyln): update verification note with bug fix details 2026-05-20 19:09:49 -04:00