Skip to content

Commit

Permalink
Specify workspace resolver to clear warnings (#133)
Browse files Browse the repository at this point in the history
I noticed while building `cargo-clone` these warnings:

```
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
eopb authored Aug 24, 2024
1 parent 6ef9e01 commit 728c8b0
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,5 +1,6 @@
[workspace]
members = ["cargo-clone", "cargo-clone-core"]
resolver = "2"

[workspace.dependencies]
anyhow = "1.0.86"
Expand Down

0 comments on commit 728c8b0

Please sign in to comment.