Skip to content

Commit bd7b9d3

Browse files
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 <[email protected]>
1 parent 87b0cbf commit bd7b9d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23

34
members = [
45
"crates/vhost",

0 commit comments

Comments
 (0)