From bd7b9d37d31f7d08faae753d5e9b62faae51f897 Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Mon, 2 Oct 2023 10:04:30 +0200 Subject: [PATCH] workspace: specify `workspace.resolver = "2"` After updating rust edition to 2021, cargo complains about the resolver: 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 Let's specify to use the edition 2021 resolver. Signed-off-by: Stefano Garzarella --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 14c18c2..f4bf566 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "crates/vhost",