brids
Parse and generate random CPF/ICN and CNPJ, Brazil's ID numbers.
Usage
First, add the following to your Cargo.toml
:
[]
= "0.3"
Next, add this to your crate root:
extern crate brids;
Examples
Parse and format:
extern crate brids;
use Cpf;
use ;
Generate random CNPJ and CPF/ICN numbers:
extern crate brids;
use ;
License
brids
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)