Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade all crates to the 2024 edition and bump MSRV to 1.85 #1670

Merged
merged 37 commits into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2497cb7
reunite the workspace, exclude x509 and cms for now
baloo Feb 23, 2025
05d1516
const-oid: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
bf5a3c4
der: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
e3fc2e7
spki: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
368dd2b
pkcs8: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
25026ac
pkcs1: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
f9ba0cf
pkcs12: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
e352ed8
pkcs5: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
b8fbede
der: reformat with edition 2024
baloo Feb 23, 2025
5c60564
const-oid: reformat with edition 2024
baloo Feb 23, 2025
3cb966f
spki: reformat with edition 2024
baloo Feb 23, 2025
935c5e3
pem-rfc7468: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
b4d0f91
serdect: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
d24e002
serdect: reformat with edition 2024
baloo Feb 23, 2025
c00ac13
pkcs1: reformat with edition 2024
baloo Feb 23, 2025
a7fc68b
pkcs12: reformat with edition 2024
baloo Feb 23, 2025
6a13a05
pem-rfc7468: reformat with edition 2024
baloo Feb 23, 2025
66d1a55
pkcs5: reformat with edition 2024
baloo Feb 23, 2025
7fe7d90
pkcs8: reformat with edition 2024
baloo Feb 23, 2025
f1970af
tls_codec: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
d345445
tls_codec: clippy 1.85
baloo Feb 23, 2025
5741efe
tls_codec: reformat with edition 2024
baloo Feb 23, 2025
c9ab2d6
tls_codec: fixup 1.85 errors
baloo Feb 23, 2025
ff4aa0b
base16ct: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
95398d9
base32ct: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
fb8894a
base64ct: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
0a749bd
base16ct: reformat with edition 2024
baloo Feb 23, 2025
09078de
base32ct: reformat with edition 2024
baloo Feb 23, 2025
6c4b619
base64ct: reformat with edition 2024
baloo Feb 23, 2025
f58c57d
tai64: bump to edition 2024; bump MSRV to 1.85
baloo Feb 23, 2025
f2e7314
tai64: reformat with edition 2024
baloo Feb 23, 2025
2aa77aa
chore(deps): bump `hex-literal` from `0.4` to `1`
baloo Feb 23, 2025
0a6ec34
chore(deps): bump crypto-common from `0.2.0-rc.1` to `0.2.0-rc.2`
baloo Feb 23, 2025
d8420b0
chore(deps): bump block-buffer from `0.11.0-rc.3` to `0.11.0-rc.4`
baloo Feb 23, 2025
b546f2a
chore(deps): bump block-padding from `0.4.0-rc.2` to `0.4.0-rc.3`
baloo Feb 23, 2025
3a18cac
chore(deps): bump inout from `0.2.0-rc.3` to `0.2.0-rc.4`
baloo Feb 23, 2025
519a199
serdect: disable minimal-versions
baloo Feb 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/base16ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base32ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base64ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/const-oid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/der.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -52,7 +52,7 @@ jobs:
# 32-bit Linux
- targets: i686-unknown-linux-gnu
platform: ubuntu-latest
rust: 1.81.0 # MSRV
rust: 1.85.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- targets: i686-unknown-linux-gnu
platform: ubuntu-latest
Expand All @@ -62,7 +62,7 @@ jobs:
# 64-bit Linux
- targets: x86_64-unknown-linux-gnu
platform: ubuntu-latest
rust: 1.81.0 # MSRV
rust: 1.85.0 # MSRV
- targets: x86_64-unknown-linux-gnu
platform: ubuntu-latest
rust: stable
Expand All @@ -71,7 +71,7 @@ jobs:
# 64-bit Windows
#- targets: x86_64-pc-windows-msvc
# platform: windows-latest
# rust: 1.81.0 # MSRV
# rust: 1.85.0 # MSRV
#- targets: x86_64-pc-windows-msvc
# platform: windows-latest
# rust: stable
Expand All @@ -91,7 +91,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pem-rfc7468.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -48,7 +48,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkcs1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkcs12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -53,7 +53,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkcs5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -51,7 +51,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkcs8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/serdect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.70.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -39,6 +39,7 @@ jobs:
- run: cargo hack build --target ${{ matrix.target }} --feature-powerset

minimal-versions:
if: false # TODO: temp disabled due to unpublished prerelease dependencies
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
nightly: nightly-2023-10-01
Expand All @@ -49,7 +50,7 @@ jobs:
strategy:
matrix:
rust:
- 1.70.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tai64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tls_codec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.74.0 # MSRV
- 1.85.0 # MSRV
- stable
target:
- wasm32-unknown-unknown
Expand All @@ -50,15 +50,15 @@ jobs:
include:
# 32-bit Linux
- targets: i686-unknown-linux-gnu
rust: 1.74.0 # MSRV
rust: 1.85.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- targets: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- targets: x86_64-unknown-linux-gnu
rust: 1.74.0 # MSRV
rust: 1.85.0 # MSRV
- targets: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand Down
Loading