Skip to content

Commit 1156351

Browse files
d-e-s-odanielocfb
authored andcommitted
Switch to using resolver version 2
Cargo's v2 version & feature resolver got introduced a while back. Apparently, however, it's not enabled by default for virtual workspaces: > 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 switch to using resolver v2. Signed-off-by: Daniel Müller <[email protected]>
1 parent 9a1aa2f commit 1156351

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
@@ -8,3 +8,4 @@ members = [
88
"examples/tc_port_whitelist",
99
"examples/tproxy",
1010
]
11+
resolver = "2"

0 commit comments

Comments
 (0)