From e3259a9f4265ff24ed043d5a33257b03fa72aa7f Mon Sep 17 00:00:00 2001 From: Zane Duffield Date: Fri, 15 Sep 2023 08:23:42 +1000 Subject: [PATCH] Use feature resolver version 2 This resolves the warning cargo has been emitting for a while regarding having to fall back to the old feature resolver version. Using the new resolver version doesn't seem to affect us, but it's better to be with the new version since it's the default for edition 2021 Rust (but not for virtual workspaces for some reason). See - https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2 - https://github.com/rust-lang/cargo/issues/10112 --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 966c3f45..78fffaed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,8 @@ members = [ "front-end", ] +resolver = "2" + [profile.release] lto = true codegen-units = 1