Skip to content

Commit e264c01

Browse files
authored
chore: fix cargo warning for resolver (#2590)
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
1 parent cb64c7b commit e264c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ members = [
3737
"bin/oli",
3838
"bin/oay",
3939
]
40+
resolver = "2"
4041

4142
[workspace.package]
4243
authors = ["OpenDAL Contributors <[email protected]>"]

0 commit comments

Comments
 (0)