Skip to content

Commit 596cdeb

Browse files
authored
Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (#397)
1 parent 26506d9 commit 596cdeb

40 files changed

+297
-206
lines changed

.github/workflows/chacha20.yml

Lines changed: 15 additions & 15 deletions
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
@@ -53,15 +53,15 @@ jobs:
5353
include:
5454
# 32-bit Linux
5555
- target: i686-unknown-linux-gnu
56-
rust: 1.81.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
rust: stable
6060
deps: sudo apt update && sudo apt install gcc-multilib
6161

6262
# 64-bit Linux
6363
- target: x86_64-unknown-linux-gnu
64-
rust: 1.81.0 # MSRV
64+
rust: 1.85.0 # MSRV
6565
- target: x86_64-unknown-linux-gnu
6666
rust: stable
6767
steps:
@@ -74,7 +74,7 @@ jobs:
7474
- run: ${{ matrix.deps }}
7575
- run: cargo check --target ${{ matrix.target }} --all-features
7676
- run: cargo test --target ${{ matrix.target }}
77-
- run: cargo test --target ${{ matrix.target }} --features std,zeroize
77+
- run: cargo test --target ${{ matrix.target }} --features zeroize
7878

7979
# Tests for the AVX2 backend
8080
avx2:
@@ -86,15 +86,15 @@ jobs:
8686
include:
8787
# 32-bit Linux
8888
- target: i686-unknown-linux-gnu
89-
rust: 1.81.0 # MSRV
89+
rust: 1.85.0 # MSRV
9090
deps: sudo apt update && sudo apt install gcc-multilib
9191
- target: i686-unknown-linux-gnu
9292
rust: stable
9393
deps: sudo apt update && sudo apt install gcc-multilib
9494

9595
# 64-bit Linux
9696
- target: x86_64-unknown-linux-gnu
97-
rust: 1.81.0 # MSRV
97+
rust: 1.85.0 # MSRV
9898
- target: x86_64-unknown-linux-gnu
9999
rust: stable
100100
steps:
@@ -107,7 +107,7 @@ jobs:
107107
- run: ${{ matrix.deps }}
108108
- run: cargo check --target ${{ matrix.target }} --all-features
109109
- run: cargo test --target ${{ matrix.target }}
110-
- run: cargo test --target ${{ matrix.target }} --features std,zeroize
110+
- run: cargo test --target ${{ matrix.target }} --features zeroize
111111

112112
# Tests for the SSE2 backend
113113
sse2:
@@ -119,15 +119,15 @@ jobs:
119119
include:
120120
# 32-bit Linux
121121
- target: i686-unknown-linux-gnu
122-
rust: 1.81.0 # MSRV
122+
rust: 1.85.0 # MSRV
123123
deps: sudo apt update && sudo apt install gcc-multilib
124124
- target: i686-unknown-linux-gnu
125125
rust: stable
126126
deps: sudo apt update && sudo apt install gcc-multilib
127127

128128
# 64-bit Linux
129129
- target: x86_64-unknown-linux-gnu
130-
rust: 1.81.0 # MSRV
130+
rust: 1.85.0 # MSRV
131131
- target: x86_64-unknown-linux-gnu
132132
rust: stable
133133
steps:
@@ -140,7 +140,7 @@ jobs:
140140
- run: ${{ matrix.deps }}
141141
- run: cargo check --target ${{ matrix.target }} --all-features
142142
- run: cargo test --target ${{ matrix.target }}
143-
- run: cargo test --target ${{ matrix.target }} --features std,zeroize
143+
- run: cargo test --target ${{ matrix.target }} --features zeroize
144144

145145
# Tests for the portable software backend
146146
soft:
@@ -152,15 +152,15 @@ jobs:
152152
include:
153153
# 32-bit Linux
154154
- target: i686-unknown-linux-gnu
155-
rust: 1.81.0 # MSRV
155+
rust: 1.85.0 # MSRV
156156
deps: sudo apt update && sudo apt install gcc-multilib
157157
- target: i686-unknown-linux-gnu
158158
rust: stable
159159
deps: sudo apt update && sudo apt install gcc-multilib
160160

161161
# 64-bit Linux
162162
- target: x86_64-unknown-linux-gnu
163-
rust: 1.81.0 # MSRV
163+
rust: 1.85.0 # MSRV
164164
- target: x86_64-unknown-linux-gnu
165165
rust: stable
166166
steps:
@@ -173,7 +173,7 @@ jobs:
173173
- run: ${{ matrix.deps }}
174174
- run: cargo check --target ${{ matrix.target }} --all-features
175175
- run: cargo test --target ${{ matrix.target }}
176-
- run: cargo test --target ${{ matrix.target }} --features std,zeroize
176+
- run: cargo test --target ${{ matrix.target }} --features zeroize
177177

178178
# Cross-compiled tests
179179
cross:
@@ -182,13 +182,13 @@ jobs:
182182
include:
183183
# ARM64
184184
- target: aarch64-unknown-linux-gnu
185-
rust: 1.81.0 # MSRV
185+
rust: 1.85.0 # MSRV
186186
- target: aarch64-unknown-linux-gnu
187187
rust: stable
188188

189189
# PPC32
190190
- target: powerpc-unknown-linux-gnu
191-
rust: 1.81.0 # MSRV
191+
rust: 1.85.0 # MSRV
192192
- target: powerpc-unknown-linux-gnu
193193
rust: stable
194194

.github/workflows/hc-256.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.81.0 # MSRV
25+
- 1.85.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
matrix:
5050
rust:
51-
- 1.81.0 # MSRV
51+
- 1.85.0 # MSRV
5252
- stable
5353
steps:
5454
- uses: actions/checkout@v4

.github/workflows/rabbit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.81.0 # MSRV
25+
- 1.85.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.81.0 # MSRV
50+
- 1.85.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

.github/workflows/rc4.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.81.0 # MSRV
25+
- 1.85.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.81.0 # MSRV
50+
- 1.85.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

.github/workflows/salsa20.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.81.0 # MSRV
25+
- 1.85.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.81.0 # MSRV
50+
- 1.85.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

.github/workflows/workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: RustCrypto/actions/cargo-cache@master
1818
- uses: dtolnay/rust-toolchain@master
1919
with:
20-
toolchain: 1.82.0
20+
toolchain: 1.85.0
2121
components: clippy
2222
- run: cargo clippy --all -- -D warnings
2323

0 commit comments

Comments
 (0)