[][src]Crate gtin_validate

Validate GTIN-style barcodes, including the commonly-used UPC-A and EAN-13 codes.

In addition to validating the correctness of the codes, you can attempt to automatically repair the most common errors, such as the removal of leading zeroes by spreadsheet software (because the codes are sometimes treated as integers) and the removal of whitespace that can be accidentally introduced during data entry or spreadsheet conversion.

Modules

gtin8

Performs validation and correction of GTIN-8 codes.

gtin12

Performs validation and correction of GTIN-12 and UPC-A codes.

gtin13

Performs validation and correction of GTIN-13 and EAN-13 codes.

gtin14

Performs validation and correction of GTIN-14 codes.