Function contrafact::utils::random_generator
source · pub fn random_generator() -> Generator<'static>
Expand description
A generator backed by 1M of randomness. Useful for tests and for examples.
This should not be used in production tests. Better to use a fuzzer like AFL
to generate bytes, and construct a generator using Generator::from(bytes)