From 3200aa75c1cfe9109cfc66b0d09c03911161cc96 Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Wed, 29 Jul 2026 07:42:02 +0900 Subject: [PATCH] chore: bump resolver to v3 --- Cargo.toml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4e2048c26f0a..6ddc48b9fe46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,15 +47,11 @@ members = [ "parquet_derive_test", ] -# Enable the version 2 feature resolver, which avoids unifying features for targets that are not being built -# -# Critically this prevents dev-dependencies from enabling features even when not building a target that -# uses dev-dependencies, e.g. the library crate. This in turn ensures that we can catch invalid feature -# flag combinations that would otherwise only surface in dependent crates -# -# Reference - https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2 -# -resolver = "2" +# This is the default for edition 2024 but we must manually specify it for virtual +# workspaces. +# - https://github.com/rust-lang/cargo/issues/10112 +# - https://github.com/rust-lang/cargo/issues/10587 +resolver = "3" exclude = [ # arrow-pyarrow-testing is excluded because it requires a Python interpreter with the pyarrow package installed,