]> git.proxmox.com Git - cargo.git/commit - src/cargo/ops/cargo_read_manifest.rs
Clean up code around the crawling of a directory
authorAlex Crichton <alex@alexcrichton.com>
Fri, 21 Nov 2014 20:31:00 +0000 (12:31 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 25 Nov 2014 02:58:39 +0000 (18:58 -0800)
commitc84bc16b351b87144c741ae3d07dae8b54f17b44
treefe4541dc8dfbc8167aa9f6e36e75b19c5bc8f281
parente91d1280e091a311928963cc3604bbaa8a7aa652
Clean up code around the crawling of a directory

The logic for "not recursing into `target`" was pretty hokey and needed
replacement. This commit also unfies the paths a bit to ensure that the main
loop is the same part that adds the root package itself.

This reorganization ends up closing #937
src/cargo/core/package.rs
src/cargo/ops/cargo_read_manifest.rs
src/cargo/ops/resolve.rs
src/cargo/sources/path.rs
src/rustversion.txt
tests/support/mod.rs
tests/test_cargo_compile_custom_build.rs
tests/test_cargo_package.rs