Skip to content

Commit

Permalink
sha2: bump MSRV to 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
max-te committed Nov 1, 2024
1 parent c27cf7a commit 601ca6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/sha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
set-msrv:
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
with:
msrv: 1.79.0
msrv: 1.81.0

# Builds for no_std platforms
build:
Expand Down Expand Up @@ -205,32 +205,27 @@ jobs:
# without simd
- rust: ${{needs.set-msrv.outputs.msrv}}
flags: "-C target-feature=-simd128"
target_name: wasm32-wasi # Changed in Rust >=1.81
- rust: stable
flags: "-C target-feature=-simd128"
target_name: wasm32-wasip1

# with simd
- rust: ${{needs.set-msrv.outputs.msrv}}
flags: "-C target-feature=+simd128"
target_name: wasm32-wasi
- rust: stable
flags: "-C target-feature=+simd128"
target_name: wasm32-wasip1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target_name }}
targets: wasm32-wasip1
- uses: RustCrypto/actions/cargo-hack-install@master
- uses: jcbhmr/setup-wasmtime@v2
- run: cargo hack test --feature-powerset --target ${{ matrix.target_name }}
- run: cargo hack test --feature-powerset --target wasm32-wasip1
env:
RUSTFLAGS: ${{ matrix.flags }}
CARGO_TARGET_WASM32_WASI_RUNNER: wasmtime
CARGO_TARGET_WASM32_WASIP1_RUNNER: wasmtime

minimal-versions:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Additionally all crates do not require the standard library (i.e. `no_std` capab
| [RIPEMD] | [`ripemd`] | [![crates.io](https://img.shields.io/crates/v/ripemd.svg)](https://crates.io/crates/ripemd) | [![Documentation](https://docs.rs/ripemd/badge.svg)](https://docs.rs/ripemd) | ![MSRV 1.71][msrv-1.71] | :green_heart: |
| [SHA-1] | [`sha1`] | [![crates.io](https://img.shields.io/crates/v/sha1.svg)](https://crates.io/crates/sha1) | [![Documentation](https://docs.rs/sha1/badge.svg)](https://docs.rs/sha1) | ![MSRV 1.72][msrv-1.72] | :broken_heart: |
| [SHA-1 Checked] | [`sha1-checked`] | [![crates.io](https://img.shields.io/crates/v/sha1-checked.svg)](https://crates.io/crates/sha1-checked) | [![Documentation](https://docs.rs/sha1-checked/badge.svg)](https://docs.rs/sha1-checked) | ![MSRV 1.72][msrv-1.72] | :yellow_heart: |
| [SHA-2] | [`sha2`] | [![crates.io](https://img.shields.io/crates/v/sha2.svg)](https://crates.io/crates/sha2) | [![Documentation](https://docs.rs/sha2/badge.svg)](https://docs.rs/sha2) | ![MSRV 1.72][msrv-1.72] | :green_heart: |
| [SHA-2] | [`sha2`] | [![crates.io](https://img.shields.io/crates/v/sha2.svg)](https://crates.io/crates/sha2) | [![Documentation](https://docs.rs/sha2/badge.svg)](https://docs.rs/sha2) | ![MSRV 1.81][msrv-1.81] | :green_heart: |
| [SHA-3] (Keccak) | [`sha3`] | [![crates.io](https://img.shields.io/crates/v/sha3.svg)](https://crates.io/crates/sha3) | [![Documentation](https://docs.rs/sha3/badge.svg)](https://docs.rs/sha3) | ![MSRV 1.71][msrv-1.71] | :green_heart: |
| [SHABAL] | [`shabal`] | [![crates.io](https://img.shields.io/crates/v/shabal.svg)](https://crates.io/crates/shabal) | [![Documentation](https://docs.rs/shabal/badge.svg)](https://docs.rs/shabal) | ![MSRV 1.71][msrv-1.71] | :green_heart: |
| [Skein] | [`skein`] | [![crates.io](https://img.shields.io/crates/v/skein.svg)](https://crates.io/crates/skein) | [![Documentation](https://docs.rs/skein/badge.svg)](https://docs.rs/skein) | ![MSRV 1.71][msrv-1.71] | :green_heart: |
Expand Down Expand Up @@ -237,6 +237,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
[msrv-1.71]: https://img.shields.io/badge/rustc-1.71.0+-blue.svg
[msrv-1.72]: https://img.shields.io/badge/rustc-1.72.0+-blue.svg
[msrv-1.74]: https://img.shields.io/badge/rustc-1.74.0+-blue.svg
[msrv-1.81]: https://img.shields.io/badge/rustc-1.81.0+-blue.svg

[//]: # (crates)

Expand Down

0 comments on commit 601ca6e

Please sign in to comment.