rust: add explicit resolver field to top-level cargo manifest file
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 06 Nov 2023 11:07:54 +0100
changeset 51121 34e0670caf46
parent 51120 532e74ad3ff6
child 51122 5f9af8422b31
rust: add explicit resolver field to top-level cargo manifest file Since Rust 1.51.0, Cargo has support for a better dependency resolver. Workspace packages (like ours) need to explicitely set the field, so let's. https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
rust/Cargo.toml
--- a/rust/Cargo.toml	Mon Nov 06 11:06:08 2023 +0100
+++ b/rust/Cargo.toml	Mon Nov 06 11:07:54 2023 +0100
@@ -1,3 +1,4 @@
 [workspace]
 members = ["hg-core", "hg-cpython", "rhg"]
 exclude = ["chg", "hgcli"]
+resolver = "2"