Skip to content

Limit the listed dependencies to those that are actually reachable #126

@bruceg

Description

@bruceg

The data source underlying rust-license-tool lists all entries in the dependency tree, even if they can't be reached under any actual combination of top-level feature flags. While we can't reasonably expand every possible combination of the top-level feature flags (Vector has 228 which leads to about 10^440 unique combinations), we should be able to reduce that dependency tree by producing sets of possible feature flags for each crate and thereby eliminate sub-dependencies that can't be turned on. This would reduce the size of the generated licenses file, producing a more accurate reflection of what components are actually used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions