Skip to content

cargo: dependency-resolution #1356

Closed
Closed
@graydon

Description

@graydon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions