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

Avoid updating registry when adding existing deps #3144

Merged
merged 1 commit into from
Oct 6, 2016

Commits on Sep 30, 2016

  1. Avoid updating registry when adding existing deps

    Cargo previously erroneously updated the registry whenever a new dependency was
    added on a crate which already exists in the DAG. This commit fixes this
    behavior by ensuring that if the new dependency matches a previously locked
    version it uses that instead.
    
    This commit involved a bit of refactoring around this logic to be a bit more
    clear how the locking and "falling back to the registry" is happening.
    
    Closes rust-lang#2895
    Closes rust-lang#2931
    alexcrichton committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    c0306a8 View commit details
    Browse the repository at this point in the history