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

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

cipher/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
77
readme = "README.md"
88
edition = "2021"
9-
rust-version = "1.65"
9+
rust-version = "1.81"
1010
documentation = "https://docs.rs/cipher"
1111
repository = "https://github.com/RustCrypto/traits"
1212
keywords = ["crypto", "block-cipher", "stream-cipher", "trait"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
crypto-common = { version = "0.2.0-rc.1", path = "../crypto-common/" }
16+
crypto-common = "0.2.0-rc.1"
1717
inout = "0.2.0-rc.0"
1818

1919
# optional dependencies

cipher/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ implementations which use these traits.
1616

1717
## Minimum Supported Rust Version
1818

19-
Rust **1.65** or higher.
19+
Rust **1.81** or higher.
2020

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

digest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
77
readme = "README.md"
88
edition = "2021"
9-
rust-version = "1.71"
9+
rust-version = "1.81"
1010
documentation = "https://docs.rs/digest"
1111
repository = "https://github.com/RustCrypto/traits"
1212
keywords = ["digest", "crypto", "hash"]

digest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ See [RustCrypto/hashes][1] for implementations which use this trait.
1616

1717
## Minimum Supported Rust Version
1818

19-
Rust **1.71** or higher.
19+
Rust **1.81** or higher.
2020

2121
Minimum supported Rust version can be changed in the future, but it will be
2222
done with a minor version bump.
@@ -147,7 +147,7 @@ dual licensed as above, without any additional terms or conditions.
147147
[docs-image]: https://docs.rs/digest/badge.svg
148148
[docs-link]: https://docs.rs/digest/
149149
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
150-
[rustc-image]: https://img.shields.io/badge/rustc-1.71+-blue.svg
150+
[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg
151151
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
152152
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260041-hashes
153153
[build-image]: https://github.com/RustCrypto/traits/workflows/digest/badge.svg?branch=master&event=push

elliptic-curve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ readme = "README.md"
1414
categories = ["cryptography", "no-std"]
1515
keywords = ["crypto", "ecc", "elliptic", "weierstrass"]
1616
edition = "2021"
17-
rust-version = "1.73"
17+
rust-version = "1.81"
1818

1919
[dependencies]
2020
base16ct = "0.2"

elliptic-curve/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and public/secret keys composed thereof.
1515

1616
## Minimum Supported Rust Version
1717

18-
Requires Rust **1.73** or higher.
18+
Requires Rust **1.81** or higher.
1919

2020
Minimum supported Rust version can be changed in the future, but it will be
2121
done with a minor version bump.
@@ -49,6 +49,6 @@ dual licensed as above, without any additional terms or conditions.
4949
[build-image]: https://github.com/RustCrypto/traits/actions/workflows/elliptic-curve.yml/badge.svg
5050
[build-link]: https://github.com/RustCrypto/traits/actions/workflows/elliptic-curve.yml
5151
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
52-
[rustc-image]: https://img.shields.io/badge/rustc-1.73+-blue.svg
52+
[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg
5353
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
5454
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260040-elliptic-curves

universal-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Traits which describe the functionality of universal hash functio
55
authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
77
edition = "2021"
8-
rust-version = "1.65"
8+
rust-version = "1.81"
99
readme = "README.md"
1010
documentation = "https://docs.rs/universal-hash"
1111
repository = "https://github.com/RustCrypto/traits"

universal-hash/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See [RustCrypto/universal-hashes] for implementations which use this trait.
1515

1616
## Minimum Supported Rust Version
1717

18-
Rust **1.65** or higher.
18+
Rust **1.81** or higher.
1919

2020
Minimum supported Rust version can be changed in the future, but it will be
2121
done with a minor version bump.
@@ -47,7 +47,7 @@ dual licensed as above, without any additional terms or conditions.
4747
[docs-image]: https://docs.rs/universal-hash/badge.svg
4848
[docs-link]: https://docs.rs/universal-hash/
4949
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
50-
[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg
50+
[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg
5151
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
5252
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260051-universal-hashes
5353
[build-image]: https://github.com/RustCrypto/traits/workflows/universal-hash/badge.svg?branch=master&event=push

0 commit comments

Comments
 (0)