]> git.proxmox.com Git - cargo.git/commit
Implement a fallible PackageSet::get
authorAlex Crichton <alex@alexcrichton.com>
Sat, 20 Feb 2016 18:36:09 +0000 (10:36 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 22 Feb 2016 04:39:42 +0000 (20:39 -0800)
commitb56b61c56e709272863ffb1c86eda77479760d88
treebdfaddb11dfe96f09591454bfdae3ff055e30606
parent0b256d34a944ccc383df02183245a93710a52f26
Implement a fallible PackageSet::get

This function will lazily download the package specified and fill a cell with
that package. Currently this is always infallible because the `PackageSet` is
initialized with all packages, but eventually this will not be true.
src/cargo/core/package.rs
src/cargo/ops/cargo_clean.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_output_metadata.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/job_queue.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/dependency_queue.rs
src/cargo/util/lazy_cell.rs [new file with mode: 0644]
src/cargo/util/mod.rs