From b25bea8f755a7576ba68204220ae1a58fc30151b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 12:53: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 ecffd58..d5afec7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "2" repository = "https://github.com/assert-rs/assert_fs.git" license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.74" # MSRV +rust-version = "1.85" # MSRV include = [ "build.rs", "src/**/*", From e38b33473de2c66df5edf10a3c14005320c31ba4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 12:53:34 -0600 Subject: [PATCH 2/2] chore: Migrate to Edition 2024 --- Cargo.toml | 4 ++-- src/fixture/tools.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d5afec7..6d8a0b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [workspace] -resolver = "2" +resolver = "3" [workspace.package] repository = "https://github.com/assert-rs/assert_fs.git" license = "MIT OR Apache-2.0" -edition = "2021" +edition = "2024" rust-version = "1.85" # MSRV include = [ "build.rs", diff --git a/src/fixture/tools.rs b/src/fixture/tools.rs index 8ad364e..25a3f7d 100644 --- a/src/fixture/tools.rs +++ b/src/fixture/tools.rs @@ -4,12 +4,12 @@ use std::fs; use std::io::Write; use std::path; -use super::errors::FixtureError; -use super::errors::FixtureKind; -use super::errors::ResultChainExt; use super::ChildPath; use super::NamedTempFile; use super::TempDir; +use super::errors::FixtureError; +use super::errors::FixtureKind; +use super::errors::ResultChainExt; /// Create empty directories at [`ChildPath`]. ///