Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(resolve): Improve multi-MSRV workspaces #14569

Merged
merged 7 commits into from
Sep 24, 2024
Merged

Commits on Sep 19, 2024

  1. refactor(ws): Clarify what rust-version is used

    For workflows like `cargo info`, this call will live on regardless of
    what we do with the resolver.
    epage committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    5f07992 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    698f26b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b79647 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a47885 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    892ad41 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    64abeb2 View commit details
    Browse the repository at this point in the history
  7. fix(resolve): Improve multi-MSRV workspaces

    We do this by resolving for a package version that is compatible
    with the most number of MSRVs within a workspace.
    
    If a version requirement is just right, every package will get the
    highest MSRV-compatible dependency.
    
    If its too high, packages will get MSRV-incompatible dependency
    versions.
    This will happen regardless of what we do due to the nature of
    `"fallback"`.
    
    If its too low, packages with higher MSRVs will get older-than-necessary
    dependency versions.
    This is similar to the "some with and without MSRV" workspaces.
    When locking dependencies, we do report to users when newer MSRV/SemVer
    compatible dependencies are available to help guide them to upgrading if
    desired.
    
    Fixes rust-lang#14414
    epage committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    94db932 View commit details
    Browse the repository at this point in the history