cksac / fake-rs

A library for generating fake data in Rust.
Apache License 2.0
919 stars 91 forks source link

Ideas around address consistency, email validity, etc. #28

Open burdges opened 5 years ago

burdges commented 5 years ago

Also, you might notice a few more ideas about data one can generate at https://www.fakeaddressgenerator.com/ and https://www.fakepersongenerator.com/ i.e. stuff like IMEI.

You might consider an interface that makes generating "valid" address information possible. Afaik there are no existing fake address generators online that actually do this. It'd normally be undesirable, but who knows.

There are a couple free temporary email address providers like https://10minutemail.com/ In the past, I think they allowed offline generation of the valid email address, assuming you knew one of their currently active domains, but this appears gone now, and maybe with good reason.

Roms1383 commented 3 years ago

well could it be gated behind a feature flag and leverage a 3rd party crate like e.g. validator to read its derive macro attributes and mutate the likelihood?