Skip to content

Commit a09f3d2

Browse files
authored
Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (RustCrypto#662)
1 parent d1d749b commit a09f3d2

Some content is hidden

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

81 files changed

+7004
-4204
lines changed

.github/workflows/aead-stream.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- thumbv7em-none-eabi
@@ -43,15 +43,15 @@ jobs:
4343
include:
4444
# 32-bit Linux
4545
- target: i686-unknown-linux-gnu
46-
rust: 1.81.0 # MSRV
46+
rust: 1.85.0 # MSRV
4747
deps: sudo apt update && sudo apt install gcc-multilib
4848
- target: i686-unknown-linux-gnu
4949
rust: stable
5050
deps: sudo apt update && sudo apt install gcc-multilib
5151

5252
# 64-bit Linux
5353
- target: x86_64-unknown-linux-gnu
54-
rust: 1.81.0 # MSRV
54+
rust: 1.85.0 # MSRV
5555
- target: x86_64-unknown-linux-gnu
5656
rust: stable
5757
steps:

.github/workflows/aes-gcm-siv.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -44,15 +44,15 @@ jobs:
4444
include:
4545
# 32-bit Linux
4646
- target: i686-unknown-linux-gnu
47-
rust: 1.81.0 # MSRV
47+
rust: 1.85.0 # MSRV
4848
deps: sudo apt update && sudo apt install gcc-multilib
4949
- target: i686-unknown-linux-gnu
5050
rust: stable
5151
deps: sudo apt update && sudo apt install gcc-multilib
5252

5353
# 64-bit Linux
5454
- target: x86_64-unknown-linux-gnu
55-
rust: 1.81.0 # MSRV
55+
rust: 1.85.0 # MSRV
5656
- target: x86_64-unknown-linux-gnu
5757
rust: stable
5858
steps:
@@ -64,6 +64,5 @@ jobs:
6464
- run: ${{ matrix.deps }}
6565
- run: cargo test --target ${{ matrix.target }} --release --no-default-features
6666
- run: cargo test --target ${{ matrix.target }} --release
67-
- run: cargo test --target ${{ matrix.target }} --release --features stream,std
6867
- run: cargo test --target ${{ matrix.target }} --release --all-features
6968
- run: cargo build --target ${{ matrix.target }} --benches

.github/workflows/aes-gcm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -44,15 +44,15 @@ jobs:
4444
include:
4545
# 32-bit Linux
4646
- target: i686-unknown-linux-gnu
47-
rust: 1.81.0 # MSRV
47+
rust: 1.85.0 # MSRV
4848
deps: sudo apt update && sudo apt install gcc-multilib
4949
- target: i686-unknown-linux-gnu
5050
rust: stable
5151
deps: sudo apt update && sudo apt install gcc-multilib
5252

5353
# 64-bit Linux
5454
- target: x86_64-unknown-linux-gnu
55-
rust: 1.81.0 # MSRV
55+
rust: 1.85.0 # MSRV
5656
- target: x86_64-unknown-linux-gnu
5757
rust: stable
5858
steps:
@@ -64,6 +64,6 @@ jobs:
6464
- run: ${{ matrix.deps }}
6565
- run: cargo test --target ${{ matrix.target }} --release --no-default-features --lib
6666
- run: cargo test --target ${{ matrix.target }} --release
67-
- run: cargo test --target ${{ matrix.target }} --release --features stream,std,zeroize
67+
- run: cargo test --target ${{ matrix.target }} --release --features zeroize
6868
- run: cargo test --target ${{ matrix.target }} --release --all-features
6969
- run: cargo build --target ${{ matrix.target }} --benches

.github/workflows/aes-siv.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
rust:
45-
- 1.81.0 # MSRV
45+
- 1.85.0 # MSRV
4646
- stable
4747
steps:
4848
- uses: actions/checkout@v4
@@ -51,5 +51,4 @@ jobs:
5151
toolchain: ${{ matrix.rust }}
5252
- run: cargo test --release --no-default-features
5353
- run: cargo test --release
54-
- run: cargo test --release --features stream,std
5554
- run: cargo test --release --all-features

.github/workflows/ascon-aead.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -44,15 +44,15 @@ jobs:
4444
include:
4545
# 32-bit Linux
4646
- target: i686-unknown-linux-gnu
47-
rust: 1.81.0 # MSRV
47+
rust: 1.85.0 # MSRV
4848
deps: sudo apt update && sudo apt install gcc-multilib
4949
- target: i686-unknown-linux-gnu
5050
rust: stable
5151
deps: sudo apt update && sudo apt install gcc-multilib
5252

5353
# 64-bit Linux
5454
- target: x86_64-unknown-linux-gnu
55-
rust: 1.81.0 # MSRV
55+
rust: 1.85.0 # MSRV
5656
- target: x86_64-unknown-linux-gnu
5757
rust: stable
5858
steps:
@@ -64,5 +64,5 @@ jobs:
6464
- run: ${{ matrix.deps }}
6565
- run: cargo test --target ${{ matrix.target }} --release --no-default-features
6666
- run: cargo test --target ${{ matrix.target }} --release
67-
- run: cargo test --target ${{ matrix.target }} --release --features std,zeroize
67+
- run: cargo test --target ${{ matrix.target }} --release --features zeroize
6868
- run: cargo test --target ${{ matrix.target }} --release --all-features

.github/workflows/benches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
steps:
2929
- uses: actions/checkout@v4

.github/workflows/ccm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- thumbv7em-none-eabi
@@ -43,15 +43,15 @@ jobs:
4343
include:
4444
# 32-bit Linux
4545
- target: i686-unknown-linux-gnu
46-
rust: 1.81.0 # MSRV
46+
rust: 1.85.0 # MSRV
4747
deps: sudo apt update && sudo apt install gcc-multilib
4848
- target: i686-unknown-linux-gnu
4949
rust: stable
5050
deps: sudo apt update && sudo apt install gcc-multilib
5151

5252
# 64-bit Linux
5353
- target: x86_64-unknown-linux-gnu
54-
rust: 1.81.0 # MSRV
54+
rust: 1.85.0 # MSRV
5555
- target: x86_64-unknown-linux-gnu
5656
rust: stable
5757
steps:

.github/workflows/chacha20poly1305.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -45,15 +45,15 @@ jobs:
4545
include:
4646
# 32-bit Linux
4747
- target: i686-unknown-linux-gnu
48-
rust: 1.81.0 # MSRV
48+
rust: 1.85.0 # MSRV
4949
deps: sudo apt update && sudo apt install gcc-multilib
5050
- target: i686-unknown-linux-gnu
5151
rust: stable
5252
deps: sudo apt update && sudo apt install gcc-multilib
5353

5454
# 64-bit Linux
5555
- target: x86_64-unknown-linux-gnu
56-
rust: 1.81.0 # MSRV
56+
rust: 1.85.0 # MSRV
5757
- target: x86_64-unknown-linux-gnu
5858
rust: stable
5959
steps:
@@ -65,7 +65,7 @@ jobs:
6565
- run: ${{ matrix.deps }}
6666
- run: cargo test --target ${{ matrix.target }} --release --no-default-features
6767
- run: cargo test --target ${{ matrix.target }} --release
68-
- run: cargo test --target ${{ matrix.target }} --release --features reduced-round,stream,std
68+
- run: cargo test --target ${{ matrix.target }} --release --features reduced-round
6969
- run: cargo test --target ${{ matrix.target }} --release --all-features
7070
- run: cargo build --target ${{ matrix.target }} --benches
7171

.github/workflows/deoxys.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- armv7a-none-eabi
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
rust:
45-
- 1.81.0 # MSRV
45+
- 1.85.0 # MSRV
4646
- stable
4747
steps:
4848
- uses: actions/checkout@v4
@@ -51,5 +51,4 @@ jobs:
5151
toolchain: ${{ matrix.rust }}
5252
- run: cargo test --release --no-default-features --lib
5353
- run: cargo test --release
54-
- run: cargo test --release --features stream,std
5554
- run: cargo test --release --all-features

.github/workflows/eax.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.81.0 # MSRV
26+
- 1.85.0 # MSRV
2727
- stable
2828
target:
2929
- thumbv7em-none-eabi
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
rust:
44-
- 1.81.0 # MSRV
44+
- 1.85.0 # MSRV
4545
- stable
4646
steps:
4747
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)