Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cargo upgrade --no-dev #553

Closed
oovm opened this issue Dec 17, 2021 · 5 comments
Closed

cargo upgrade --no-dev #553

oovm opened this issue Dec 17, 2021 · 5 comments

Comments

@oovm
Copy link

oovm commented Dec 17, 2021

Sometimes I don’t want dev-dependencies to upgrade, I need to rely on a specific version, I think it’s good to add such an option like --ignore-dev

@epage
Copy link
Collaborator

epage commented Dec 17, 2021

Good idea!

Personally, I would call it --no-dev since no- prefixes for flags are a pretty common pattern.

@oovm oovm changed the title cargo upgrade --ignore-dev cargo upgrade --no-dev --no-local Dec 17, 2021
@oovm
Copy link
Author

oovm commented Dec 17, 2021

I also want an option to skip local dependencies, that is, dependencies that use path.

@epage
Copy link
Collaborator

epage commented Dec 17, 2021

Let's split --no-local out because that has some other implications.

Mind creating a separate issue?

@oovm oovm changed the title cargo upgrade --no-dev --no-local cargo upgrade --no-dev Dec 17, 2021
@epage
Copy link
Collaborator

epage commented Jul 14, 2022

With #709 and and #735, we now skipped pinned by default. Would that be an alternative solution than --no-dev?

@oovm
Copy link
Author

oovm commented Jul 15, 2022

This option is very flexible and solved my problem

@oovm oovm closed this as completed Jul 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants