Expand description
MRZ parser module.
Declares the submodules for the MRZ parser and re-exports the common top-level types.
Re-exports§
Modules§
- country_
patterns - exceptions
- MRZ parser errors.
MRZErroris an enum of the concrete error cases; each variant implementsDisplayandstd::error::Error. - parser
- This module provides the
MRZParserconvenience API which chooses the correct format-specific parser (TD1 / TD2 / TD3) based on the polished input. - result
- sex
- string_
extensions - Utilities for MRZ-specific string operations: validation, trimming a specific character, and OCR-friendly character replacements commonly used when processing MRZ zones.
Functions§
- get_
check_ digit - Compute the MRZ check digit for
input.