Package codes-check-digits
This package contains implementations of various check digit specifications, including ISO/IEC 7064:2003 Information technology — Security techniques — Check character systems.
For notes on the design of the API, see the repository README.
Example
use ;
let calculator = get_algorithm_instance;
assert!;
assert!;
assert_eq!;
Features
gs1- Adds thegs1module containing algorithms for various codes such as EAN, GTIN, GLN, and UPC.iso_7064- Adds theiso_7064module containing implementations of the variants defined in ISO/IEC 7064:2003.luhn- Adds theluhnmodule containing an implementation of the Luhn Algorithm.sedol- Adds thesedolmodule containing an implementation of the algorithm used in SEDOL numbers.
Changes
Version 0.1.2
- Made all NSIN types also Code implementations
Version 0.1.1
- rug integers not building on Windows, gated the feature for now.
Version 0.1.0
- Initial release, copied from packages
codes-common,codes-iso-6166,codes-iso-17442, andcodes-gs1-gln.
TODO
TBD