From 3cb657f5c3e6f8e009e5bf2854d60dd0360c4889 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Mon, 30 Oct 2023 10:24:47 +0100 Subject: [PATCH] tool: silence resolver version warning We are getting this warning: warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest Silence by opting into the new behavior. --- rust/tool/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/tool/Cargo.toml b/rust/tool/Cargo.toml index 64901e0..b7306c1 100644 --- a/rust/tool/Cargo.toml +++ b/rust/tool/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "shared",