From 99deb023750c8020c30697c84527d0926c5450ff Mon Sep 17 00:00:00 2001 From: haraldmaida Date: Sat, 28 Mar 2026 14:08:10 +0100 Subject: [PATCH 1/2] chore: add Just task to check the MSRV for the project --- justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/justfile b/justfile index 31e18dc..780636c 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,10 @@ set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"] +# MSRV of the project + +msrv := "1.82.0" + alias b := build alias c := check alias cc := code-coverage @@ -14,6 +18,7 @@ alias t := test alias ta := test-all-features alias td := test-default alias tn := test-no-std +alias msrv := check-msrv # list recipies default: @@ -90,3 +95,11 @@ clean: # generate and open docs locally doc $RUSTDOCFLAGS="--cfg docsrs": cargo +nightly doc --all-features --no-deps --open + +# installs the MSRV toolchain +setup-msrv: + rustup toolchain install {{ msrv }} --profile minimal + +# check the production code with MSRV (without tests or dev-dependencies) +check-msrv: setup-msrv + rustup run {{ msrv }} cargo check --lib From 51c4d99c49366cd799b42320e570f3939ee5dc4b Mon Sep 17 00:00:00 2001 From: haraldmaida Date: Sun, 29 Mar 2026 20:04:56 +0200 Subject: [PATCH 2/2] chore(msrv)!: bump MSRV to 1.85.1 Bumping MSRV to 1.85.1 became necessary as the newest version of the dependency `rust_decimal` (and maybe others) require it. --- Cargo.toml | 2 +- justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 910eb9f..34e3b02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.14.0" authors = ["haraldmaida"] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.82.0" +rust-version = "1.85.1" repository = "https://github.com/innoave/asserting" readme = "README.md" diff --git a/justfile b/justfile index 780636c..2ac0762 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,7 @@ set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"] # MSRV of the project -msrv := "1.82.0" +msrv := "1.85.1" alias b := build alias c := check