Skip to content

Commit 4284073

Browse files
authored
MSRV 1.81 fixups (#1676)
The MSRVs for dependent crates did not get bumped before #1660 was merged. This bumps them accordingly.
1 parent 66ca151 commit 4284073

File tree

18 files changed

+35
-37
lines changed

18 files changed

+35
-37
lines changed

.github/workflows/aead.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.65.0 # MSRV
25+
- 1.81.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
rust:
55-
- 1.65.0 # MSRV
55+
- 1.81.0 # MSRV
5656
- stable
5757
steps:
5858
- uses: actions/checkout@v4

.github/workflows/async-signature.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ jobs:
4242
strategy:
4343
matrix:
4444
rust:
45-
- 1.75.0 # MSRV
45+
- 1.81.0 # Minimum Rust version the tests pass on
4646
- stable
4747
steps:
4848
- uses: actions/checkout@v4
4949
- uses: RustCrypto/actions/cargo-cache@master
5050
- uses: dtolnay/rust-toolchain@master
5151
with:
5252
toolchain: ${{ matrix.rust }}
53-
- run: cargo check --all-features
5453
- run: cargo test --release
5554
- run: cargo test --all-features --release
5655

.github/workflows/cipher.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.65.0 # MSRV
26+
- 1.81.0 # MSRV
2727
- stable
2828
target:
2929
- thumbv7em-none-eabi
@@ -57,7 +57,7 @@ jobs:
5757
strategy:
5858
matrix:
5959
rust:
60-
- 1.65.0 # MSRV
60+
- 1.81.0 # MSRV
6161
- stable
6262
steps:
6363
- uses: actions/checkout@v4

.github/workflows/digest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: digest
22

33
on:
44
pull_request:
5-
paths:
6-
- "digest/**"
7-
- "Cargo.*"
5+
paths:
6+
- "digest/**"
7+
- "Cargo.*"
88
push:
99
branches: master
1010

@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.71.0 # MSRV
25+
- 1.81.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.71.0 # MSRV
50+
- 1.81.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

.github/workflows/elliptic-curve.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
rust:
27-
- 1.73.0 # MSRV
27+
- 1.81.0 # MSRV
2828
- stable
2929
target:
3030
- thumbv7em-none-eabi
@@ -75,7 +75,7 @@ jobs:
7575
strategy:
7676
matrix:
7777
rust:
78-
- 1.73.0 # MSRV
78+
- 1.81.0 # MSRV
7979
- stable
8080
- nightly
8181
steps:

.github/workflows/signature.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ jobs:
3838
targets: ${{ matrix.target }}
3939
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
4040
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features derive
41-
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features digest
4241
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features rand_core
43-
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features derive,digest,rand_core
42+
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features derive,rand_core
4443

4544
minimal-versions:
4645
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
@@ -52,18 +51,17 @@ jobs:
5251
strategy:
5352
matrix:
5453
rust:
55-
- 1.72.0 # MSRV
54+
- 1.81.0 # Minimum Rust version the tests pass on
5655
- stable
5756
steps:
5857
- uses: actions/checkout@v4
5958
- uses: RustCrypto/actions/cargo-cache@master
6059
- uses: dtolnay/rust-toolchain@master
6160
with:
6261
toolchain: ${{ matrix.rust }}
63-
- run: cargo check --all-features
64-
- run: cargo test --no-default-features --release
62+
- run: cargo test --release --no-default-features
6563
- run: cargo test --release
66-
- run: cargo test --all-features --release
64+
- run: cargo test --release --all-features
6765

6866
derive:
6967
runs-on: ubuntu-latest

.github/workflows/universal-hash.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.65.0 # MSRV
25+
- 1.81.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.65.0 # MSRV
50+
- 1.81.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ members = [
1616
]
1717

1818
[patch.crates-io]
19+
crypto-common = { path = "./crypto-common" }
1920
digest = { path = "./digest" }
2021
signature = { path = "./signature" }

aead/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ documentation = "https://docs.rs/aead"
1313
repository = "https://github.com/RustCrypto/traits"
1414
keywords = ["crypto", "encryption"]
1515
categories = ["cryptography", "no-std"]
16-
rust-version = "1.65"
16+
rust-version = "1.81"
1717

1818
[dependencies]
1919
crypto-common = "0.2.0-rc.0"

aead/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See [RustCrypto/AEADs] for cipher implementations which use this trait.
1919

2020
## Minimum Supported Rust Version
2121

22-
Rust **1.65** or higher.
22+
Rust **1.81** or higher.
2323

2424
Minimum supported Rust version can be changed in the future, but it will be
2525
done with a minor version bump.
@@ -51,7 +51,7 @@ dual licensed as above, without any additional terms or conditions.
5151
[docs-image]: https://docs.rs/aead/badge.svg
5252
[docs-link]: https://docs.rs/aead/
5353
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
54-
[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg
54+
[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg
5555
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
5656
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260038-AEADs
5757
[build-image]: https://github.com/RustCrypto/traits/workflows/aead/badge.svg?branch=master&event=push

0 commit comments

Comments
 (0)