Skip to content

Commit

Permalink
Bump MSRVs and dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jan 2, 2024
1 parent 59789af commit fb54e93
Show file tree
Hide file tree
Showing 29 changed files with 69 additions and 211 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ascon-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.56.0
msrv: 1.65.0

build:
needs: set-msrv
Expand All @@ -42,9 +42,6 @@ jobs:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- uses: RustCrypto/actions/cargo-hack-install@master
# TODO: remove after bump to MSRV 1.60+
- run: cargo update
- run: cargo update -p zeroize --precise 1.6.0
- run: cargo hack build --target ${{ matrix.target }} --each-feature --exclude-features default,std

minimal-versions:
Expand All @@ -67,7 +64,4 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- uses: RustCrypto/actions/cargo-hack-install@master
# TODO: remove after bump to MSRV 1.60+
- run: cargo update
- run: cargo update -p zeroize --precise 1.6.0
- run: cargo hack test --feature-powerset
2 changes: 1 addition & 1 deletion .github/workflows/belt-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/blake2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.41.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
strategy:
matrix:
rust:
- 1.51 # 1.41-1.50 `--features` can't be used inside virtual manifest
- 1.65
- stable
target:
- aarch64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fsb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.41.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/gost94.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -65,19 +65,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: merge with test on MSRV bump to 1.57 or higher
test-msrv-41:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
- run: cargo test --no-default-features
2 changes: 1 addition & 1 deletion .github/workflows/groestl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.41.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/k12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.56.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/md2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -65,19 +65,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: merge with test on MSRV bump to 1.57 or higher
test-msrv-41:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --no-default-features
- run: cargo test
18 changes: 1 addition & 17 deletions .github/workflows/md4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -65,19 +65,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: merge with test on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --no-default-features
- run: cargo test
17 changes: 1 addition & 16 deletions .github/workflows/md5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -80,18 +80,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: merge with test on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
17 changes: 1 addition & 16 deletions .github/workflows/ripemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -66,18 +66,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: merge with test on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --no-default-features
23 changes: 4 additions & 19 deletions .github/workflows/sha1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
# Crate supports MSRV 1.41 without `oid` feature. We test true MSRV
# in the `test-msrv` job.
msrv: 1.57.0
msrv: 1.65.0

# Builds for no_std platforms
build:
Expand Down Expand Up @@ -115,9 +113,8 @@ jobs:
matrix:
include:
# 64-bit Windows (GNU)
# TODO(tarcieri): try re-enabling this when we bump MSRV
#- target: x86_64-pc-windows-gnu
# toolchain: ${{needs.set-msrv.outputs.msrv}}
- target: x86_64-pc-windows-gnu
toolchain: ${{needs.set-msrv.outputs.msrv}}
- target: x86_64-pc-windows-gnu
rust: stable

Expand Down Expand Up @@ -149,7 +146,7 @@ jobs:
strategy:
matrix:
rust:
- 1.51.0 # 1.41-1.50 `--features` can't be used inside virtual manifest
- 1.65.0
- stable
target:
- aarch64-unknown-linux-gnu
Expand All @@ -176,15 +173,3 @@ jobs:
package: ${{ github.workflow }}
target: ${{ matrix.target }}
features: ${{ matrix.features }}

# TODO: remove on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.41.0
- run: cargo test --no-default-features
- run: cargo test
18 changes: 2 additions & 16 deletions .github/workflows/sha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
# Crate supports MSRV 1.41 without `oid` feature. We test true MSRV
# in the `test-msrv` job.
msrv: 1.59.0
msrv: 1.65.0

# Builds for no_std platforms
build:
Expand All @@ -32,7 +30,7 @@ jobs:
strategy:
matrix:
rust:
- 1.59
- 1.65.0
- stable
target:
- thumbv7em-none-eabi
Expand Down Expand Up @@ -168,15 +166,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# TODO: remove on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.41.0
- run: cargo test --no-default-features
- run: cargo test
16 changes: 1 addition & 15 deletions .github/workflows/sha3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
# Crate supports MSRV 1.41 without `oid` feature. We test true MSRV
# in the `test-msrv` job.
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -95,15 +93,3 @@ jobs:
package: ${{ github.workflow }}
target: ${{ matrix.target }}
features: ${{ matrix.features }}

# TODO: remove on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.41.0
- run: cargo test --no-default-features
- run: cargo test
2 changes: 1 addition & 1 deletion .github/workflows/shabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.41.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/skein.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sm3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.41.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/streebog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.57.0
msrv: 1.65.0

build:
needs: set-msrv
Expand Down Expand Up @@ -65,17 +65,3 @@ jobs:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# `oid` feature bumps MSRV to 1.57, so we temporarily split this job.
test-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: 1.41.0
override: true
- run: cargo test --no-default-features
- run: cargo test
Loading

0 comments on commit fb54e93

Please sign in to comment.