Skip to content

Commit

Permalink
chore: Use resolver 2 in virtual workspace. (#259)
Browse files Browse the repository at this point in the history
This fixes warnings like this:

```
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
```
  • Loading branch information
waywardmonkeys authored Jul 30, 2023
1 parent 705ae85 commit abe108c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"common",
"consumer",
Expand Down

0 comments on commit abe108c

Please sign in to comment.