public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-mail-forward 1/2] cargo: port to rust 2024 edition
@ 2025-03-10 10:22 Maximiliano Sandoval
  2025-03-10 10:22 ` [pve-devel] [PATCH proxmox-mail-forward 2/2] run rustfmt Maximiliano Sandoval
  0 siblings, 1 reply; 3+ messages in thread
From: Maximiliano Sandoval @ 2025-03-10 10:22 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 Cargo.toml   | 2 +-
 rustfmt.toml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 0f4e3b0..5a8e1d0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ authors = [
     "Lukas Wagner <l.wagner@proxmox.com>",
     "Proxmox Support Team <support@proxmox.com>",
 ]
-edition = "2021"
+edition = "2024"
 license = "AGPL-3"
 description = "Proxmox mail forward helper"
 homepage = "https://www.proxmox.com"
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.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] [PATCH proxmox-mail-forward 2/2] run rustfmt
  2025-03-10 10:22 [pve-devel] [PATCH proxmox-mail-forward 1/2] cargo: port to rust 2024 edition Maximiliano Sandoval
@ 2025-03-10 10:22 ` Maximiliano Sandoval
  2025-03-18 10:50   ` [pve-devel] applied-series: " Fabian Grünbichler
  0 siblings, 1 reply; 3+ messages in thread
From: Maximiliano Sandoval @ 2025-03-10 10:22 UTC (permalink / raw)
  To: pve-devel

With rust 2024 edition.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 4662ffa..795b0f2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -23,9 +23,9 @@ use std::path::Path;
 
 use anyhow::Error;
 
+use proxmox_notify::Config;
 use proxmox_notify::context::pbs::PBS_CONTEXT;
 use proxmox_notify::context::pve::PVE_CONTEXT;
-use proxmox_notify::Config;
 use proxmox_sys::fs;
 
 const PVE_CFG_PATH: &str = "/etc/pve";
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] applied-series: [PATCH proxmox-mail-forward 2/2] run rustfmt
  2025-03-10 10:22 ` [pve-devel] [PATCH proxmox-mail-forward 2/2] run rustfmt Maximiliano Sandoval
@ 2025-03-18 10:50   ` Fabian Grünbichler
  0 siblings, 0 replies; 3+ messages in thread
From: Fabian Grünbichler @ 2025-03-18 10:50 UTC (permalink / raw)
  To: Proxmox VE development discussion

thanks

On March 10, 2025 11:22 am, Maximiliano Sandoval wrote:
> With rust 2024 edition.
> 
> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
> ---
>  src/main.rs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/main.rs b/src/main.rs
> index 4662ffa..795b0f2 100644
> --- a/src/main.rs
> +++ b/src/main.rs
> @@ -23,9 +23,9 @@ use std::path::Path;
>  
>  use anyhow::Error;
>  
> +use proxmox_notify::Config;
>  use proxmox_notify::context::pbs::PBS_CONTEXT;
>  use proxmox_notify::context::pve::PVE_CONTEXT;
> -use proxmox_notify::Config;
>  use proxmox_sys::fs;
>  
>  const PVE_CFG_PATH: &str = "/etc/pve";
> -- 
> 2.39.5
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-18 10:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-10 10:22 [pve-devel] [PATCH proxmox-mail-forward 1/2] cargo: port to rust 2024 edition Maximiliano Sandoval
2025-03-10 10:22 ` [pve-devel] [PATCH proxmox-mail-forward 2/2] run rustfmt Maximiliano Sandoval
2025-03-18 10:50   ` [pve-devel] applied-series: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal