[pve-devel] [PATCH installer 1/2] tree-wide: rust: update to 2024 edition
Christoph Heiss
c.heiss at proxmox.com
Fri Feb 28 10:27:32 CET 2025
Updates (and unifies) the edition across the workspace to 2024.
No functional changes.
Signed-off-by: Christoph Heiss <c.heiss at 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 at proxmox.com>",
"Proxmox Support Team <support at 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 at proxmox.com>",
"Proxmox Support Team <support at 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 at 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 at proxmox.com>",
"Proxmox Support Team <support at 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 at 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 at proxmox.com>",
"Proxmox Support Team <support at 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 at 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
More information about the pve-devel
mailing list