Skip to content

Commit

Permalink
Cargo.toml: set workspace.resolver to 2 (#140)
Browse files Browse the repository at this point in the history
Fixes:
```
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
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
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
```
  • Loading branch information
veprbl committed Feb 24, 2024
1 parent 7eb7773 commit 2b90ebb
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
Expand Up @@ -4,6 +4,7 @@ members = [
"cramjam-cli",
"cramjam-python"
]
resolver = "2"

[workspace.package]
edition = "2021"
Expand Down

0 comments on commit 2b90ebb

Please sign in to comment.