Skip to content

Commit 1701e2a

Browse files
authored
Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (#1149)
1 parent b2cc53a commit 1701e2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+322
-277
lines changed

.github/workflows/aarch64-dit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
toolchain:
27-
- 1.61.0 # MSRV
27+
- 1.85.0 # MSRV
2828
- stable
2929
runs-on: macos-latest
3030
steps:

.github/workflows/blobby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.39.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
steps:
3131
- uses: actions/checkout@v4

.github/workflows/block-buffer.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.81.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -40,16 +40,16 @@ jobs:
4040
- run: cargo build --target ${{ matrix.target }}
4141

4242
minimal-versions:
43-
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
44-
with:
45-
working-directory: ${{ github.workflow }}
43+
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
44+
with:
45+
working-directory: ${{ github.workflow }}
4646

4747
test:
4848
runs-on: ubuntu-latest
4949
strategy:
5050
matrix:
5151
rust:
52-
- 1.81.0 # MSRV
52+
- 1.85.0 # MSRV
5353
- stable
5454
steps:
5555
- uses: actions/checkout@v4

.github/workflows/block-padding.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.81.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
matrix:
5151
rust:
52-
- 1.81.0 # MSRV
52+
- 1.85.0 # MSRV
5353
- stable
5454
steps:
5555
- uses: actions/checkout@v4

.github/workflows/cmov.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
rust:
34-
- 1.60.0 # MSRV
34+
- 1.85.0 # MSRV
3535
- stable
3636
target:
3737
- thumbv7em-none-eabi
@@ -53,23 +53,23 @@ jobs:
5353
# 32-bit Linux
5454
- target: i686-unknown-linux-gnu
5555
platform: ubuntu-latest
56-
rust: 1.60.0 # MSRV
56+
rust: 1.85.0 # MSRV
5757
deps: sudo apt update && sudo apt install gcc-multilib
5858

5959
# 64-bit Linux
6060
- target: x86_64-unknown-linux-gnu
6161
platform: ubuntu-latest
62-
rust: 1.60.0 # MSRV
62+
rust: 1.85.0 # MSRV
6363

6464
# 64-bit Windows
6565
- target: x86_64-pc-windows-msvc
6666
platform: windows-latest
67-
rust: 1.60.0 # MSRV
67+
rust: 1.85.0 # MSRV
6868

6969
# 64-bit macOS
7070
- target: x86_64-apple-darwin
7171
platform: macos-latest
72-
rust: 1.60.0 # MSRV
72+
rust: 1.85.0 # MSRV
7373

7474
runs-on: ${{ matrix.platform }}
7575
steps:
@@ -89,12 +89,12 @@ jobs:
8989
include:
9090
# ARM64
9191
- target: aarch64-unknown-linux-gnu
92-
rust: 1.60.0 # MSRV
92+
rust: 1.85.0 # MSRV
9393
- target: aarch64-unknown-linux-gnu
9494
rust: stable
9595
# PPC32
9696
- target: powerpc-unknown-linux-gnu
97-
rust: 1.60.0 # MSRV
97+
rust: 1.85.0 # MSRV
9898
- target: powerpc-unknown-linux-gnu
9999
rust: stable
100100
runs-on: ubuntu-latest

.github/workflows/cpufeatures.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
include:
3333
# 32-bit Linux/x86
3434
- target: i686-unknown-linux-gnu
35-
rust: 1.40.0 # MSRV
35+
rust: 1.85.0 # MSRV
3636
deps: sudo apt update && sudo apt install gcc-multilib
3737
- target: i686-unknown-linux-gnu
3838
rust: stable
3939
deps: sudo apt update && sudo apt install gcc-multilib
4040

4141
# 64-bit Linux/x86_64
4242
- target: x86_64-unknown-linux-gnu
43-
rust: 1.40.0 # MSRV
43+
rust: 1.85.0 # MSRV
4444
- target: x86_64-unknown-linux-gnu
4545
rust: stable
4646
runs-on: ubuntu-latest
@@ -61,8 +61,7 @@ jobs:
6161
strategy:
6262
matrix:
6363
toolchain:
64-
# TODO(tarcieri): try re-enabling this when we bump MSRV
65-
# - 1.40.0 # MSRV
64+
- 1.85.0 # MSRV
6665
- stable
6766
runs-on: macos-latest
6867
steps:
@@ -82,9 +81,8 @@ jobs:
8281
matrix:
8382
include:
8483
# 64-bit Windows (GNU)
85-
# TODO(tarcieri): try re-enabling this when we bump MSRV
86-
#- target: x86_64-pc-windows-gnu
87-
# toolchain: 1.40.0 # MSRV
84+
- target: x86_64-pc-windows-gnu
85+
toolchain: 1.85.0 # MSRV
8886
- target: x86_64-pc-windows-gnu
8987
toolchain: stable
9088
runs-on: windows-latest
@@ -105,9 +103,8 @@ jobs:
105103
matrix:
106104
include:
107105
# ARM64
108-
# TODO(tarcieri): try re-enabling this when we bump MSRV
109-
#- target: aarch64-unknown-linux-gnu
110-
# rust: 1.40.0 # MSRV
106+
- target: aarch64-unknown-linux-gnu
107+
rust: 1.85.0 # MSRV
111108
- target: aarch64-unknown-linux-gnu
112109
rust: stable
113110
runs-on: ubuntu-latest

.github/workflows/dbl.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.81.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -40,7 +40,6 @@ jobs:
4040
- run: cargo build --target ${{ matrix.target }}
4141

4242
minimal-versions:
43-
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
4443
with:
4544
working-directory: ${{ github.workflow }}
4645

@@ -49,7 +48,7 @@ jobs:
4948
strategy:
5049
matrix:
5150
rust:
52-
- 1.81.0 # MSRV
51+
- 1.85.0 # MSRV
5352
- stable
5453
steps:
5554
- uses: actions/checkout@v4

.github/workflows/hex-literal.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.57.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
rust:
54-
- 1.57.0 # MSRV
54+
- 1.85.0 # MSRV
5555
- stable
5656
steps:
5757
- uses: actions/checkout@v4

.github/workflows/inout.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.81.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
rust:
53-
- 1.81.0 # MSRV
53+
- 1.85.0 # MSRV
5454
- stable
5555
steps:
5656
- uses: actions/checkout@v4

.github/workflows/opaque-debug.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
rust:
28-
- 1.41.0 # MSRV
28+
- 1.85.0 # MSRV
2929
- stable
3030
target:
3131
- thumbv7em-none-eabi
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
rust:
54-
- 1.41.0 # MSRV
54+
- 1.85.0 # MSRV
5555
- stable
5656
steps:
5757
- uses: actions/checkout@v4

.github/workflows/workspace.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: RustCrypto/actions/cargo-cache@master
2121
- uses: dtolnay/rust-toolchain@master
2222
with:
23-
toolchain: 1.81.0 # Pinned to prevent breakages
23+
toolchain: 1.85.0 # Pinned to prevent breakages
2424
components: clippy
2525
- run: cargo clippy --all --all-features --exclude aarch64-dit -- -D warnings
2626

.github/workflows/zeroize.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
rust:
29-
- 1.60.0 # MSRV
29+
- 1.85.0 # MSRV
3030
- stable
3131
target:
3232
- armv7a-none-eabi
@@ -53,7 +53,7 @@ jobs:
5353
# 32-bit Linux
5454
- target: i686-unknown-linux-gnu
5555
platform: ubuntu-latest
56-
rust: 1.60.0 # MSRV
56+
rust: 1.85.0 # MSRV
5757
deps: sudo apt update && sudo apt install gcc-multilib
5858
- target: i686-unknown-linux-gnu
5959
platform: ubuntu-latest
@@ -63,23 +63,23 @@ jobs:
6363
# 64-bit Linux
6464
- target: x86_64-unknown-linux-gnu
6565
platform: ubuntu-latest
66-
rust: 1.60.0 # MSRV
66+
rust: 1.85.0 # MSRV
6767
- target: x86_64-unknown-linux-gnu
6868
platform: ubuntu-latest
6969
rust: stable
7070

7171
# 64-bit macOS x86_64
7272
- target: x86_64-apple-darwin
7373
platform: macos-latest
74-
rust: 1.60.0 # MSRV
74+
rust: 1.85.0 # MSRV
7575
- target: x86_64-apple-darwin
7676
platform: macos-latest
7777
rust: stable
7878

7979
# 64-bit Windows
8080
- target: x86_64-pc-windows-msvc
8181
platform: windows-latest
82-
rust: 1.60.0 # MSRV
82+
rust: 1.85.0 # MSRV
8383
- target: x86_64-pc-windows-msvc
8484
platform: windows-latest
8585
rust: stable
@@ -101,13 +101,13 @@ jobs:
101101
include:
102102
# AArch64
103103
- target: aarch64-unknown-linux-gnu
104-
rust: 1.60.0
104+
rust: 1.85.0
105105
- target: aarch64-unknown-linux-gnu
106106
rust: stable
107107

108108
# PPC32
109109
- target: powerpc-unknown-linux-gnu
110-
rust: 1.60.0 # MSRV
110+
rust: 1.85.0 # MSRV
111111
- target: powerpc-unknown-linux-gnu
112112
rust: stable
113113
runs-on: ubuntu-latest
@@ -122,13 +122,13 @@ jobs:
122122
- run: cross test --target ${{ matrix.target }}
123123
- run: cross test --target ${{ matrix.target }} --all-features
124124

125-
# Tests for x86-64 `simd` support (AVX-512 registers; MSRV 1.72)
125+
# Tests for x86-64 `simd` support
126126
x86:
127127
strategy:
128128
matrix:
129129
include:
130130
- target: x86_64-unknown-linux-gnu
131-
rust: 1.72.0
131+
rust: 1.85.0
132132
- target: x86_64-unknown-linux-gnu
133133
rust: stable
134134
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)