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

Consider rust-version when selecting packages for cargo add #12078

Merged
merged 4 commits into from
May 23, 2023

Commits on May 23, 2023

  1. Consider rust-version in cargo add

    When `-Zmsrv-policy` is enabled, try to select dependencies which satisfy the
    target package's `rust-version` field (if present). If the selected version is
    not also the latest, emit a warning to the user about this discrepancy.
    
    Dependency versions without a `rust-version` are considered compatible by
    default.
    
    Implements rust-lang#10653.
    cassaundra committed May 23, 2023
    Configuration menu
    Copy the full SHA
    4a96edc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c49523 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30a445b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8df391b View commit details
    Browse the repository at this point in the history