mockd

Crates.io MIT licensed Build Status Rust Docs BuyMeaCoffee GitHubSponsors

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

```toml

[dev-dependencies] mockd = "0.4.1"

```

The contact info struct contains a phone number and email string.

```rust let creditcard = mockd::payment::creditcard();

println!("Credit card: {:#?}", credit_card);

```

Mockd provides mock data in the following categories:

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