]> git.proxmox.com Git - cargo.git/commit - src/cargo/ops/cargo_compile.rs
Only enable downloads through an RAII structure
authorAlex Crichton <alex@alexcrichton.com>
Thu, 13 Sep 2018 02:24:33 +0000 (19:24 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 18 Sep 2018 18:33:04 +0000 (11:33 -0700)
commit0ea0c8ba5c81a32fd33eba1c996c2e41e0788926
tree2d6651987e654c0ae3eccae254d718ede50ed281
parent468f243e0ece85397250684a3fe885d9c44cad24
Only enable downloads through an RAII structure

This should help us scope downloads to ensure that we only ever have one
download session at once and it's explicitly scoped so we can handle the
progress bar and everything.
src/cargo/core/compiler/context/unit_dependencies.rs
src/cargo/core/package.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_doc.rs
src/cargo/ops/cargo_fetch.rs
src/cargo/ops/cargo_output_metadata.rs