Skip to content

Update vendored dependencies #9006

@stanislav-tkach

Description

@stanislav-tkach

Perhaps I'm missing something, but there is no easy way to update vendored dependencies. cargo update would lead to the "failed to select a version for the requirement..." error, so I'm doing the following:

  • remove .cargo/config.toml
  • use cargo update
  • use cargo vendor again

It would be nice to have a separate command or an additional option for the cargo vendor (or cargo update) command that would allow to update vendored dependencies. Ideally, that new command should support the --package options as cargo update does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-directory-sourceArea: directory sources (vendoring)C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-vendorS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions