Skip to content

Our approach to index usage might need revision #4

Description

@kentfredric

It seems that, due to having only an index and repository that is built from installed packages, cargo is put at a disadvantage.

It seems that, under our eclass tooling, if a package declares an optional, or target specific dependency, cargo ends up requiring that package is installed, in order to provide merely the index data.

And even though this means the Cargo.lock file is updated to show these, they're not actually used .....

But this is enough to break things like cargo package, because it has to fetch the index data for all optional dependencies :/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionideas, thoughts and meta issues that may or may not eventually lead to some concrete change

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions