artichoke / strftime-ruby

⏳ Ruby `Time#strftime` parser and formatter
https://crates.io/crates/strftime-ruby
MIT License
12 stars 0 forks source link

Add `cargo-fuzz` integration #22

Closed lopopolo closed 2 years ago

lopopolo commented 2 years ago

This crate is a parser. Parsers should be fuzzed.

lopopolo commented 2 years ago

We can set up the fuzzer integration similarly to boba which uses cargo-fuzz to generate a sub workspace:

https://github.com/artichoke/boba/tree/bead9fd103a85449df8f320772d983b00bb53554/fuzz

and CI job:

https://github.com/artichoke/boba/blob/bead9fd103a85449df8f320772d983b00bb53554/.github/workflows/fuzz.yaml