-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
--upgrade <policy>
support
In preparing `cargo-add` for upstreaming into cargo, this feature felt far enough from being ready that it didn't seem worth putting behind a feature flag. The policy names don't map well to what Rust developers are used to (operator characters) and the policy name for ^ isn't correct, calling it `minor`. Removing it seems acceptable because - Most people use the default policy and we should generally be encouraging that because too often people try to out smart the default policy and things break. - Redundant with `--vers <req>` and `<name>@<req>` except when no version is specified and cargo-add looks up the latest. If someone does want to specify it, they are most likely to specify = which means they probably have a reason and a specific version in mind rather than "latest".
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.