Skip to content

Commit

Permalink
Bump signature to v2.3.0-pre.0; MSRV 1.71 (#765)
Browse files Browse the repository at this point in the history
For `ecdsa` crate: MSRV is 1.73 due to a bump of `elliptic-curve` to
v0.14.0-pre.0.

This commit begins the next round of breaking changes and bumps all
crates to prerelease versions.

The main change in `signature` is an upgrade of the `digest` crate to
v0.11.0-pre.3, which is what brings the new MSRV 1.71 requirement.
  • Loading branch information
tarcieri authored Jan 9, 2024
1 parent fedfe87 commit 4ee30f5
Show file tree
Hide file tree
Showing 27 changed files with 340 additions and 531 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.65.0 # MSRV
- 1.71.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.65.0 # MSRV
- 1.71.0 # MSRV
- stable
runs-on: ${{ matrix.platform }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ecdsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
rust:
- 1.65.0 # MSRV
- 1.73.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.73.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ed25519.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.60.0 # MSRV
- 1.71.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -34,16 +34,15 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc
# TODO(tarcieri): re-enable the following when MSRV is 1.65
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8

test:
strategy:
matrix:
toolchain:
- 1.65.0 # Technically MSRV is 1.60, but we have 1.65 dev-dependencies (i.e. ring-compat)
- 1.71.0 # MSRV
- stable
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ed448.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.60.0 # MSRV
- 1.71.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -34,16 +34,15 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc
# TODO(tarcieri): re-enable the following when MSRV is 1.65
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
#- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8

test:
strategy:
matrix:
toolchain:
- 1.65.0 # Technically MSRV is 1.60, but we have 1.65 dev-dependencies (i.e. ring-compat)
- 1.71.0 # MSRV
- stable
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rfc6979.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
rust:
- 1.61.0 # MSRV
- 1.71.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
rust:
- 1.61.0 # MSRV
- 1.71.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.66.0
toolchain: 1.73.0
components: clippy
- run: cargo clippy --all-features -- -D warnings
Loading

0 comments on commit 4ee30f5

Please sign in to comment.