mockd
Update to fakeit, a Rust port of the famous Go fakeit library with more than 130 functions.
Usage
Add mockd to the dependencies (typically dev-dependencies) in Cargo.toml
[]
= "0.4.51"
The contact info struct contains a phone number and email string.
let credit_card = credit_card;
println!;
Mockd provides mock data in the following categories:
- address
- animal
- beer
- bool_rand
- colour
- company
- contact
- currency
- datetime
- file
- generator
- hacker
- hipster
- image
- internet
- job
- language
- log_level
- name
- password
- payment
- person
- status_code
- unique
- user_agent
- vehicle
- words
Each category is enabled by a feature of the same name. All features can be enabled using the feature "all".
Full documentation is available at docs.rs