bindings: rust: fix unclear resolver warning
authorKent Gibson <warthog618@gmail.com>
Thu, 29 Jun 2023 10:14:55 +0000 (18:14 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 30 Jun 2023 12:01:29 +0000 (14:01 +0200)
Fix the following warning:

"some crates are on edition 2021 which defaults to `resolver = "2"`,
 but virtual workspaces default to `resolver = "1"`"

Clarify the resolver selection as the 2021 edition by setting the
workspace.resolver to "2".

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Erik Schilling <erik.schilling@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/rust/Cargo.toml

index 2e026b49103a5404b120e175ea4128296e4a9360..e3850278cd3a17477eaa0e14b68c6ca5d6a42c6a 100644 (file)
@@ -9,3 +9,5 @@ members = [
     "libgpiod",
     "libgpiod-sys"
 ]
+
+resolver = "2"