Skip to content

Commit b020e6e

Browse files
committed
Add docs
1 parent fba5907 commit b020e6e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ members = [
2424
"arrow-flight",
2525
"integration-testing",
2626
]
27+
# Enable the version 2 feature resolver, which avoids unifying features for targets that are not being built
28+
#
29+
# Critically this prevents dev-dependencies from enabling features even when not building a target that
30+
# uses dev-dependencies, e.g. the library crate. This in turn ensures that we can catch invalid feature
31+
# flag combinations that would otherwise only surface in dependent crates
32+
#
33+
# Reference - https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2
34+
#
2735
resolver = "2"
2836

2937
# this package is excluded because it requires different compilation flags, thereby significantly changing

0 commit comments

Comments
 (0)