Skip to content

Vendoring a project with no dependencies leads to misleading output #7473

Closed
@Firstyear

Description

@Firstyear

Problem
When using cargo vendor on a project with no deps, the output is misleading:

 cargo vendor
To use vendored sources, add this to your .cargo/config for this project:

[source.vendored-sources]
directory = "/Users/william/development/389ds/ds/src/libsds/vendor"

Possible Solution(s)
This should state:

  • No dependencies were found
  • Suggest no changes to .cargo/config

Output of cargo version:
1.38, 1.38

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions