#generate #variant #type #values #user #derive #alles

allem

Generate useful variants for your custom types

1 unstable release

0.1.0 Apr 12, 2024

#184 in #variant

MIT/Apache

7KB
122 lines

Generate different values of your data types

This crate offers users the ability to easily generate lists of values that they consider interesting. It was created with testing serialization and deserialization tests in mind, but is not restricted to it.

The main trait of this crate is [Alles] which has a single function Alles::generate to get a stream of values of whatever type implements it.

To implement it for your own types you can use the Alles derive macro. Check it out for documentation!

Dependencies

~0.7–1.1MB
~25K SLoC