changeset 51121:34e0670caf46

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
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 06 Nov 2023 11:07:54 +0100
parents 532e74ad3ff6
children 5f9af8422b31
files rust/Cargo.toml
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"