d240151f8c
* Add fuzzing Fuzzing can be useful to find crashes on random input. Running this for a short while should already result in a crash, proving it's usefulness.
Fuzz
Fuzzing targets for the grass library.
Installing
You'll need cargo-fuzz
for this to work, simply do:
cargo install cargo-fuzz
Running
Get a list of available targets with:
cargo fuzz list
And run a available target simply with:
cargo fuzz run <target>
You might have to use nightly:
cargo +nightly fuzz run <target>
More info about fuzzing
Consult the fuzzing book.