Skip to main content

mrz_parser/
lib.rs

1//! MRZ parser module.
2//!
3//! Declares the submodules for the MRZ parser and re-exports the common
4//! top-level types.
5
6pub mod country_patterns;
7pub mod exceptions;
8pub mod parser;
9pub mod result;
10pub mod sex;
11
12mod checkdigit_calculator;
13mod field_parser;
14mod field_recognition_defects_fixer;
15pub mod string_extensions;
16mod td1_format_mrz_parser;
17mod td2_format_mrz_parser;
18mod td3_format_mrz_parser;
19
20pub use checkdigit_calculator::get_check_digit;
21pub use exceptions::MRZError;
22pub use parser::MRZParser;
23pub use result::MRZResult;
24pub use sex::Sex;