diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 65fcb70..e444b18 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: ["1.34.2", stable, beta, nightly] + rust: ["1.48", stable, beta, nightly] command: [build, test] steps: - uses: actions/checkout@v2 @@ -20,7 +20,7 @@ jobs: - name: test run: > cargo test --tests --benches --no-default-features --features "$FEATURES" - if: ${{ matrix.rust != '1.34.2' }} + if: ${{ matrix.rust != '1.48' }} env: FEATURES: ${{ matrix.features }} rustfmt: diff --git a/README.md b/README.md index ce32891..a5fc0a5 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,11 @@ Formats and interpretations not listed above or with empty entries are unsupport - Baseline tags - `ExtraSamples` - Extension tags + +## Fuzzing + +This crate uses [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz) in order to test the image parser. + +After installing it with `cargo install cargo-fuzz` on a nightly rustc, the +fuzzing harness can be run with recommended settings using +`cargo fuzz run decode_image -snone -- -timeout=5`.