From 79b2bb8cf543c348b095b2b4634946c71522c862 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 15:42:52 -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 4fc4192..bc6fdb6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "2" repository = "https://github.com/rust-cli/proc-exit" license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.74" # MSRV +rust-version = "1.85" # MSRV include = [ "build.rs", "src/**/*", From a54827d008aeb5b862dd6bb141739647a712a920 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Mar 2026 15:43:14 -0600 Subject: [PATCH 2/2] chore: Migrate to Edition 2024 --- Cargo.toml | 4 ++-- src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc6fdb6..b3dbda7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [workspace] -resolver = "2" +resolver = "3" [workspace.package] repository = "https://github.com/rust-cli/proc-exit" license = "MIT OR Apache-2.0" -edition = "2021" +edition = "2024" rust-version = "1.85" # MSRV include = [ "build.rs", diff --git a/src/lib.rs b/src/lib.rs index c157cfd..456ed97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -98,8 +98,8 @@ pub mod sysexits; pub use code::Code; pub use exit::WithCodeResultExt; -pub use exit::{exit, report}; pub use exit::{Exit, ExitResult}; +pub use exit::{exit, report}; #[doc = include_str!("../README.md")] #[cfg(doctest)]