From 30640d50ff3987ae33f6313ad7302763fbe5aa6c Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 2 Nov 2022 14:25:18 -0700 Subject: [PATCH 1/2] Bump jpeg-decoder version pin to 0.3.0 The jpeg-decoder project has a new version with a number of improvements plus a fix for a possible panic. Semantic versioning considers 0.2.4 to be incompatible with 0.3.X because of the leading zero, so this change bumps the pin to 0.3.0. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 54b724a..824d572 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" [dependencies] weezl = "0.1.0" -jpeg = { package = "jpeg-decoder", version = "0.2.4", default-features = false } +jpeg = { package = "jpeg-decoder", version = "0.3.0", default-features = false } flate2 = "1.0.20" [dev-dependencies] From b5a78fbec4a79050f7ca6c8e2df3709fa15b0d33 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 2 Nov 2022 15:00:29 -0700 Subject: [PATCH 2/2] CI: Correct the MSRV from 1.48 to 1.61 --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e444b18..9964b17 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: ["1.48", stable, beta, nightly] + rust: ["1.61", 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.48' }} + if: ${{ matrix.rust != '1.61' }} env: FEATURES: ${{ matrix.features }} rustfmt: