person_registration

Crates.ioperson_registration
lib.rsperson_registration
version0.1.2
sourcesrc
created_at2022-06-05 01:43:30.681586
updated_at2022-06-12 22:18:10.680926
descriptionPerson registration for Brazil documents
homepage
repository
max_upload_size
id600012
size9,297
Kaique da Silva (ktfth)

documentation

README

Person Registration

Description

On Brazil we have two main documents to describe a company or a physical person registration, used widely for common ways like buy, register on another services and so on. This tool help you to generate this documents to test your applications.

Installation

[sudo] cargo install person_registration

or add to Cargo.toml

[dependencies]
person_registration = "*"

Usage

To generate documents on cli, you can use the commands below:

CLI

person_registration --physical 5
person_registration --juridic 5
person_registration --general 5
person_registration --misc 5

API

Or just calling on your code:

use person_registration::{Gen, Person, Juridic, General};

println!("{}", Person::generate());
println!("{}", Juridic::generate());
println!("{}", General::generate());

That's it, enjoy and contributions are welcome.

Commit count: 0

cargo fmt