]> git.proxmox.com Git - cargo.git/commit - src/cargo/core/registry.rs
Lazily load hashes for registry sources
authorAlex Crichton <alex@alexcrichton.com>
Wed, 25 Mar 2015 18:39:47 +0000 (11:39 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Mar 2015 18:39:47 +0000 (11:39 -0700)
commitf162aed2c743328b827da866e6cb906081c7bee8
tree509af83f3a6c0017a30e5095cc380ef757413279
parent0e42b4dbf464429b67bf2ac80c293a0a9cee604d
Lazily load hashes for registry sources

The hashes would occasionally disappear when the main package registry overwrote
a previous registry source, so this just adds logic to load hashes if they're
missing.

Closes #1355
src/cargo/core/registry.rs
src/cargo/sources/registry.rs