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)
commit72cd9898edbdd6838dce8e84f7a35db2d637e0ae
tree7ab2e465606c6961483edd7f038f10b2a6d61792
parent4510231c95a087f58a155cf74164e403e1e0584f
bindings: rust: fix unclear resolver warning

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