mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

When selecting among several versions of a paackage, prefer versions from `[patch]` sections over other versions, similar to how locked versions are preferred. Patches come in the form of a Dependency and not a PackageId, so this preference is expressed with `prefer_patch_deps`, distinct from `try_to_use`.