This is the default since edition 2024 which the crate uses. See
https://doc.rust-lang.org/edition-guide/rust-2024/cargo-resolver.html
for more details.

Do note that removing the key would result in:

warning: virtual workspace defaulting to `resolver = "1"` despite one or more 
workspace members being on edition 2024 which implies `resolver = "3"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the 
workspace root's manifest
note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in 
the workspace root's manifest
note: for more details see 
https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions

hence we explicitly opt-in the default.

Signed-off-by: Maximiliano Sandoval <[email protected]>
---

 Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cargo.toml b/Cargo.toml
index 33cd75d..f156707 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ license = "AGPL-3"
 repository = "https://git.proxmox.com/?p=pve-installer.git";
 
 [workspace]
-resolver = "2"
+resolver = "3"
 members = [
     "proxmox-auto-installer",
     "proxmox-auto-install-assistant",
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to