Skip to content

Commit

Permalink
chore: fix cargo warning for resolver
Browse files Browse the repository at this point in the history
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

As a library, this isn't important as end-user application decides the resolver finally. Just remove the warning.

ref:
- rust-lang/cargo#10112
- https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
  • Loading branch information
xxchan committed Jul 3, 2023
1 parent ca3b83b commit 0ed6ddd
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 @@ -37,6 +37,7 @@ members = [
"bin/oli",
"bin/oay",
]
resolver = "2"

[workspace.package]
authors = ["OpenDAL Contributors <[email protected]>"]
Expand Down

0 comments on commit 0ed6ddd

Please sign in to comment.