[pbs-devel] [PATCH proxmox 05/10] cargo: set resolver to 3
Maximiliano Sandoval
m.sandoval at proxmox.com
Mon Jan 26 16:13:42 CET 2026
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 <m.sandoval at proxmox.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 554c6cb7..a3575ec6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,7 +65,7 @@ members = [
exclude = [
"build",
]
-resolver = "2"
+resolver = "3"
[workspace.package]
authors = ["Proxmox Support Team <support at proxmox.com>"]
--
2.47.3
More information about the pbs-devel
mailing list