From e264c01e011159f2fe3fa68d028bcf7c276110a3 Mon Sep 17 00:00:00 2001 From: xxchan Date: Tue, 4 Jul 2023 05:24:38 +0200 Subject: [PATCH] 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: - https://github.com/rust-lang/cargo/issues/10112 - https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 8720e7da282..c1f6ca38537 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,7 @@ members = [ "bin/oli", "bin/oay", ] +resolver = "2" [workspace.package] authors = ["OpenDAL Contributors "]