brids-rs
Parse and generate random ICN/CPF and CNPJ (soon), Brazil's ID numbers.
Usage
First, add the following to your Cargo.toml
:
[]
= "0.1"
Next, add this to your crate root:
extern crate brids;
Examples
Parse and format:
extern crate brids;
use Cpf;
use ;
Generate a random CPF number:
extern crate brids;
use Cpf;
License
brids-rs
is licensed under either of the following, at your option:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or https://opensource.org/licenses/MIT)