From c713961336d28244e9eafd9fd4cadb76e80212a7 Mon Sep 17 00:00:00 2001
From: David Runge <dvzrv@archlinux.org>
Date: Fri, 21 Feb 2025 08:34:07 +0100
Subject: [PATCH] feat: Switch to Rust edition 2024

Use resolver 3 (which came with Rust edition 2024).
Set the minimum required Rust version to 1.85.0.

Signed-off-by: David Runge <dvzrv@archlinux.org>
---
 Cargo.toml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 8c2322c0..616c5a8a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
 [workspace]
-resolver = "2"
+resolver = "3"
 members = [
   "nethsm",
   "nethsm-backup",
@@ -44,10 +44,11 @@ authors = [
   "David Runge <dvzrv@archlinux.org>",
   "Wiktor Kwapisiewicz <wiktor@archlinux.org>",
 ]
-edition = "2021"
+edition = "2024"
 homepage = "https://gitlab.archlinux.org/archlinux/signstar"
 license = "Apache-2.0 OR MIT"
 repository = "https://gitlab.archlinux.org/archlinux/signstar"
+rust-version = "1.85.0"
 
 [profile.release]
 lto = true
-- 
GitLab