Skip to content

Commit

Permalink
chore: fix cargo warning for resolver (#2590)
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 authored Jul 4, 2023
1 parent cb64c7b commit e264c01
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 <dev@opendal.apache.org>"]
Expand Down

0 comments on commit e264c01

Please sign in to comment.