From 6c2f76d52930904406d4b3b235a8bcc52e7dbea0 Mon Sep 17 00:00:00 2001 From: Matthias Goergens Date: Thu, 13 Jul 2023 12:21:40 +0800 Subject: [PATCH] Fix resolver warning When running eg `cargo check` or `cargo build` you got greeted with the following warning: ``` 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 ``` This PR fixes this. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index dedc8209..3c9eddf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] members = ["evm", "field", "maybe_rayon", "plonky2", "starky", "util"] +resolver = "2" [profile.release] opt-level = 3