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@xxxxxxxxx> --- bindings/rust/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index 2e026b4..e385027 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -9,3 +9,5 @@ members = [ "libgpiod", "libgpiod-sys" ] + +resolver = "2" -- 2.41.0