Skip to content

Commit

Permalink
Fix MSRV check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders429 committed Dec 18, 2024
1 parent e8b42ed commit e805808
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
rust:
- 1.56.0
- 1.61.0
- stable
- beta
- nightly
Expand All @@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
rust:
- 1.56.0
- 1.61.0
- stable
- beta
- nightly
Expand Down Expand Up @@ -85,5 +85,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: curl -LsSf https://github.com/foresterre/cargo-msrv/releases/latest/download/cargo-msrv_v0.15.1_Linux_x86_64.tar | tar xf - -C ~/.cargo/bin
- run: cargo msrv --verify
- run: curl -LsSf https://github.com/foresterre/cargo-msrv/releases/download/v0.17.1/cargo-msrv-x86_64-unknown-linux-gnu-v0.17.1.tgz | tar zxvf - -C ~/.cargo/bin
- run: mv ~/.cargo/bin/cargo-msrv-x86_64-unknown-linux-gnu-v0.17.1/cargo-msrv ~/.cargo/bin/cargo-msrv
- run: cargo msrv verify
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "serde_assert"
version = "0.8.0"
authors = ["Anders Evensen"]
edition = "2021"
rust-version = "1.56.0"
rust-version = "1.61.0"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/Anders429/serde_assert"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Anders429/serde_assert/test.yaml?branch=master)](https://github.com/Anders429/serde_assert/actions/workflows/test.yaml)
[![crates.io](https://img.shields.io/crates/v/serde_assert)](https://crates.io/crates/serde_assert)
[![docs.rs](https://docs.rs/serde_assert/badge.svg)](https://docs.rs/serde_assert)
[![MSRV](https://img.shields.io/badge/rustc-1.56.0+-yellow.svg)](#minimum-supported-rust-version)
[![MSRV](https://img.shields.io/badge/rustc-1.61.0+-yellow.svg)](#minimum-supported-rust-version)
[![License](https://img.shields.io/crates/l/serde_assert)](#license)

Testing library for [`serde`](https://crates.io/crates/serde) [`Serialize`](https://docs.rs/serde/latest/serde/trait.Serialize.html) and [`Deserialize`](https://docs.rs/serde/latest/serde/trait.Deserialize.html) implementations.
Expand Down Expand Up @@ -55,7 +55,7 @@ While some users may find that the smaller API of `serde_test` is sufficient for
- Sophisticated comparison of serialized [`Token`](https://docs.rs/serde_assert/latest/serde_assert/struct.Token.html) sequences, including allowing testing of types whose serialized form can include items in arbitrary order, such as when serializing a [`HashSet`](https://docs.rs/hashbrown/latest/hashbrown/struct.HashSet.html).

## Minimum Supported Rust Version
This crate is guaranteed to compile on stable `rustc 1.56.0` and up.
This crate is guaranteed to compile on stable `rustc 1.61.0` and up.

## License
This project is licensed under either of
Expand Down

0 comments on commit e805808

Please sign in to comment.