Skip to content

Commit 31f7ffb

Browse files
committed
MSRV 1.81 fixups
The MSRVs for dependent crates did not get bumped before #1660 was merged. This bumps them accordingly.
1 parent 66ca151 commit 31f7ffb

File tree

18 files changed

+67
-33
lines changed

18 files changed

+67
-33
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: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,24 @@ jobs:
5252
toolchain: ${{ matrix.rust }}
5353
- run: cargo check --all-features
5454
- run: cargo test --release
55-
- run: cargo test --all-features --release
55+
- run: cargo test --features rand_core,std --release
56+
#- run: cargo test --all-features --release
57+
58+
# TODO(tarcieri): merge back into `test` job when we bump MSRV
59+
digest:
60+
runs-on: ubuntu-latest
61+
strategy:
62+
matrix:
63+
rust:
64+
- 1.81.0 # MSRV
65+
- stable
66+
steps:
67+
- uses: actions/checkout@v4
68+
- uses: RustCrypto/actions/cargo-cache@master
69+
- uses: dtolnay/rust-toolchain@master
70+
with:
71+
toolchain: ${{ matrix.rust }}
72+
- run: cargo test --features digest
5673

5774
minimal-versions:
5875
if: false # Temporarily disabled until signature v2.3.0 is published

.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: 19 additions & 3 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
@@ -63,7 +62,8 @@ jobs:
6362
- run: cargo check --all-features
6463
- run: cargo test --no-default-features --release
6564
- run: cargo test --release
66-
- run: cargo test --all-features --release
65+
- run: cargo test --features derive,rand_core,std
66+
#- run: cargo test --all-features --release
6767

6868
derive:
6969
runs-on: ubuntu-latest
@@ -80,3 +80,19 @@ jobs:
8080
toolchain: ${{ matrix.rust }}
8181
- run: cargo test --release
8282
working-directory: signature_derive
83+
84+
# TODO(tarcieri): merge back into `test` job when we bump MSRV
85+
digest:
86+
runs-on: ubuntu-latest
87+
strategy:
88+
matrix:
89+
rust:
90+
- 1.81.0 # MSRV for digest feature
91+
- stable
92+
steps:
93+
- uses: actions/checkout@v4
94+
- uses: RustCrypto/actions/cargo-cache@master
95+
- uses: dtolnay/rust-toolchain@master
96+
with:
97+
toolchain: ${{ matrix.rust }}
98+
- run: cargo test --features digest

.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)