Crate codice_fiscale[][src]

This crate provides tools to manage the Italian codice fiscale, which (for anyone who doesn't live in Italy) is a code associated to every individual which helps with identification in public services.

We currently provide codice fiscale calculation. Check of the codice will be the next feature.

For anyone interested, here's an explanation (Italian language) on how the codice fiscale is calculated:



Codice fiscale calculation and parsing. The static method check() is most likely what you need.


PersonData struct to pass to new() constructor for calculation of codice fiscale



Gender enum to specify gender in PersonData struct Italian government only accepts either male or female!