| Crates.io | person_registration |
| lib.rs | person_registration |
| version | 0.1.2 |
| created_at | 2022-06-05 01:43:30.681586+00 |
| updated_at | 2022-06-12 22:18:10.680926+00 |
| description | Person registration for Brazil documents |
| homepage | |
| repository | |
| max_upload_size | |
| id | 600012 |
| size | 9,297 |
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.
[sudo] cargo install person_registration
or add to Cargo.toml
[dependencies]
person_registration = "*"
To generate documents on cli, you can use the commands below:
person_registration --physical 5
person_registration --juridic 5
person_registration --general 5
person_registration --misc 5
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.