IL_TZ
A Rust library for working with Israeli ID numbers (TZ is the Hebrew acronym for "ID number").
Usage
Add this to your Cargo.toml:
[]
= "0.1.1"
Alternatively, run this command:
Example
This example shows how to convert an integer to a TZ, how to convert a string to a TZ, and validating them.
use ;
Note This library does not validate the ID number (TZ) against any sort of population database, it only validates it mathematically.
License / Warranty
This library is licensed under the MIT license (which means it's free to use, reuse, repackage etc.) See the LICENSE file for more information. This library is provided as-is, without any warranty. Use at your own risk.