From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH installer 1/2] tree-wide: rust: update to 2024 edition
Date: Fri, 28 Feb 2025 10:27:32 +0100 [thread overview]
Message-ID: <20250228092738.94539-2-c.heiss@proxmox.com> (raw)
In-Reply-To: <20250228092738.94539-1-c.heiss@proxmox.com>
Updates (and unifies) the edition across the workspace to 2024.
No functional changes.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
Cargo.toml | 1 +
proxmox-auto-install-assistant/Cargo.toml | 2 +-
proxmox-auto-installer/Cargo.toml | 2 +-
proxmox-chroot/Cargo.toml | 2 +-
proxmox-fetch-answer/Cargo.toml | 2 +-
proxmox-installer-common/Cargo.toml | 2 +-
proxmox-post-hook/Cargo.toml | 2 +-
proxmox-tui-installer/Cargo.toml | 2 +-
rustfmt.toml | 2 +-
9 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 99b5425..6c8d209 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,6 +12,7 @@ members = [
[workspace.package]
version = "8.3.4"
+edition = "2024"
[workspace.dependencies]
anyhow = "1.0"
diff --git a/proxmox-auto-install-assistant/Cargo.toml b/proxmox-auto-install-assistant/Cargo.toml
index c5d7b00..43a968f 100644
--- a/proxmox-auto-install-assistant/Cargo.toml
+++ b/proxmox-auto-install-assistant/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-auto-install-assistant"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [
"Aaron Lauterer <a.lauterer@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
diff --git a/proxmox-auto-installer/Cargo.toml b/proxmox-auto-installer/Cargo.toml
index 8940b57..221d5d2 100644
--- a/proxmox-auto-installer/Cargo.toml
+++ b/proxmox-auto-installer/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-auto-installer"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [
"Aaron Lauterer <a.lauterer@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
diff --git a/proxmox-chroot/Cargo.toml b/proxmox-chroot/Cargo.toml
index eab945b..a23f757 100644
--- a/proxmox-chroot/Cargo.toml
+++ b/proxmox-chroot/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-chroot"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [ "Aaron Lauterer <a.lauterer@proxmox.com>" ]
license = "AGPL-3"
exclude = [ "build", "debian" ]
diff --git a/proxmox-fetch-answer/Cargo.toml b/proxmox-fetch-answer/Cargo.toml
index e610807..d779ad4 100644
--- a/proxmox-fetch-answer/Cargo.toml
+++ b/proxmox-fetch-answer/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-fetch-answer"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [
"Aaron Lauterer <a.lauterer@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
diff --git a/proxmox-installer-common/Cargo.toml b/proxmox-installer-common/Cargo.toml
index 80b3534..c220f01 100644
--- a/proxmox-installer-common/Cargo.toml
+++ b/proxmox-installer-common/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-installer-common"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [ "Aaron Lauterer <a.lauterer@proxmox.com>" ]
license = "AGPL-3"
exclude = [ "build", "debian" ]
diff --git a/proxmox-post-hook/Cargo.toml b/proxmox-post-hook/Cargo.toml
index acf7f9b..1917f38 100644
--- a/proxmox-post-hook/Cargo.toml
+++ b/proxmox-post-hook/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-post-hook"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [
"Christoph Heiss <c.heiss@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
diff --git a/proxmox-tui-installer/Cargo.toml b/proxmox-tui-installer/Cargo.toml
index 1f04ce0..0e9c940 100644
--- a/proxmox-tui-installer/Cargo.toml
+++ b/proxmox-tui-installer/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "proxmox-tui-installer"
version.workspace = true
-edition = "2021"
+edition.workspace = true
authors = [ "Christoph Heiss <c.heiss@proxmox.com>" ]
license = "AGPL-3"
exclude = [ "build", "debian" ]
diff --git a/rustfmt.toml b/rustfmt.toml
index 3a26366..f216078 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1 +1 @@
-edition = "2021"
+edition = "2024"
--
2.47.1
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-02-28 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-28 9:27 [pve-devel] [PATCH installer 0/2] update to 2024 edition, run cargo fmt Christoph Heiss
2025-02-28 9:27 ` Christoph Heiss [this message]
2025-02-28 9:27 ` [pve-devel] [PATCH installer 2/2] tree-wide: rust: " Christoph Heiss
2025-02-28 15:05 ` [pve-devel] applied-series: [PATCH installer 0/2] update to 2024 edition, " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250228092738.94539-2-c.heiss@proxmox.com \
--to=c.heiss@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal