]> git.proxmox.com Git - cargo.git/commit - src/cargo/core/registry.rs
Stop downloading all packages immediately
authorAlex Crichton <alex@alexcrichton.com>
Mon, 22 Feb 2016 05:02:20 +0000 (21:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 26 Feb 2016 19:25:50 +0000 (11:25 -0800)
commitf9945926ebe70e4c1bb122bdb03f6336036cb9cf
tree884093044b3fa17bcd056126ba47097eb33fbe23
parent078b6707f793534a1e37960b6b383e5876dfb27c
Stop downloading all packages immediately

Instead delay all downloads until just before they're needed. This should ensure
that we don't download any more packages than we really need to.
src/cargo/core/package.rs
src/cargo/core/registry.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_fetch.rs
tests/test_cargo_registry.rs