diff --git a/Cargo.toml b/Cargo.toml index 115befa..3fbc44b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [workspace] -resolver = "2" +resolver = "3" [workspace.package] repository = "https://github.com/gitext-rs/git2-ext.git" license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.80" # MSRV +edition = "2024" +rust-version = "1.85" # MSRV include = [ "build.rs", "src/**/*", diff --git a/src/ops.rs b/src/ops.rs index d1ea984..9d259c6 100644 --- a/src/ops.rs +++ b/src/ops.rs @@ -517,10 +517,10 @@ impl Sign for SshSign { if !output.status.success() { if output.stderr.find("usage:").is_some() { return Err(git2::Error::new( - git2::ErrorCode::GenericError, - git2::ErrorClass::Os, - "ssh-keygen -Y sign is needed for ssh signing (available in openssh version 8.2p1+)" - )); + git2::ErrorCode::GenericError, + git2::ErrorClass::Os, + "ssh-keygen -Y sign is needed for ssh signing (available in openssh version 8.2p1+)", + )); } else { return Err(git2::Error::new( git2::ErrorCode::GenericError,