From bc3b1ef13a9727f45dfdb6f3746bfd89472d835b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 12:49:06 -0600 Subject: [PATCH 1/2] chore: Bump MSRV to 1.85 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8e222ba..34b951a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "2" repository = "https://github.com/assert-rs/assert_cmd.git" license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.74" # MSRV +rust-version = "1.85" # MSRV include = [ "build.rs", "src/**/*", From 4311bd38ad467c4550205e482246cd62ac7793d0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 12:49:36 -0600 Subject: [PATCH 2/2] chore: Migrate to Edition 2024 --- Cargo.toml | 2 +- src/assert.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 34b951a..902b882 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] repository = "https://github.com/assert-rs/assert_cmd.git" license = "MIT OR Apache-2.0" -edition = "2021" +edition = "2024" rust-version = "1.85" # MSRV include = [ "build.rs", diff --git a/src/assert.rs b/src/assert.rs index 52b40a0..61e33f5 100644 --- a/src/assert.rs +++ b/src/assert.rs @@ -11,8 +11,8 @@ use anstream::panic; use predicates::str::PredicateStrExt; use predicates_tree::CaseTreeExt; -use crate::output::output_fmt; use crate::output::DebugBytes; +use crate::output::output_fmt; /// Assert the state of an [`Output`]. ///