graydon/rust — Issue #1356: cargo: dependency-resolution
Author: graydon
Created: 2011-12-20 19:49:34+00:00
State: open
Labels: cargo

Cargo packages will depend on other packages. Add dependency-graph-resolving logic and recursive dependency-installation. Dependencies can be expressed in the central json file. Cyclic dependency is an error condition.

Also differentiate which installed packages are installed as actually-requested targets vs. simple dependency-satisfying ones, and give cargo the ability to purge/gc packages that were installed only as dependencies and are no longer referenced by "requested" packages.