New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo upgrade or cargo check-updates - upgrade dependencies to the latest versions, regardless of existing version constraints #74
Comments
Sounds like an automated Could also work as a fork of
|
For anyone landing here from a search, cargo-outdated (install via |
This adds the specified dependency/ies only if they are already present. Thus, it acts like a 'cargo upgrade' (see killercup#74)
Preliminary work to expose the APIs needed for a future `cargo upgrade` (killercup#74)
Given that There'd then be additional work to properly support workspaces, implement some sort of 'check mode' and handle all the possible variations of dependency (dev/build/optional/etc.). @killercup - I'd hope to get an MVP done within the next fortnight. Would that work with your plan for v0.2? |
This adds `cargo upgrade` as a more fully featured replacement for `cargo add --update-only`. Usage: ```plain Upgrade all dependencies in a manifest file to the latest version. Usage: cargo upgrade [--dependency <dep>...] [--manifest-path <path>] cargo upgrade (-h | --help) cargo upgrade (-V | --version) Options: -d --dependency <dep> Specific dependency to upgrade. If this option is used, only the specified dependencies will be upgraded. --manifest-path <path> Path to the manifest to upgrade. -h --help Show this help page. -V --version Show version. Dev, build, and all target dependencies will also be upgraded. Only dependencies from crates.io are supported. Git/path dependencies will be ignored. ``` Resolves killercup#74.
138: New command: cargo-upgrade r=bjgill This adds `cargo upgrade` as a more fully featured replacement for `cargo add --update-only`. Usage: ```plain Upgrade all dependencies in a manifest file to the latest version. Usage: cargo upgrade [--dependency <dep>...] [--manifest-path <path>] cargo upgrade (-h | --help) cargo upgrade (-V | --version) Options: -d --dependency <dep> Specific dependency to upgrade. If this option is used, only the specified dependencies will be upgraded. --manifest-path <path> Path to the manifest to upgrade. -h --help Show this help page. -V --version Show version. Dev, build, and all target dependencies will also be upgraded. Only dependencies from crates.io are supported. Git/path dependencies will be ignored. ``` Resolves #74. Next steps (beyond this PR; probably not in v0.2) will be: * Workspace support * interactive 'check mode' * Use `cargo` to parse the manifests (I'll squash prior to merging)
138: New command: cargo-upgrade r=bjgill This adds `cargo upgrade` as a more fully featured replacement for `cargo add --update-only`. Usage: ```plain Upgrade all dependencies in a manifest file to the latest version. Usage: cargo upgrade [--dependency <dep>...] [--manifest-path <path>] cargo upgrade (-h | --help) cargo upgrade (-V | --version) Options: -d --dependency <dep> Specific dependency to upgrade. If this option is used, only the specified dependencies will be upgraded. --manifest-path <path> Path to the manifest to upgrade. -h --help Show this help page. -V --version Show version. Dev, build, and all target dependencies will also be upgraded. Only dependencies from crates.io are supported. Git/path dependencies will be ignored. ``` Resolves #74. Next steps (beyond this PR; probably not in v0.2) will be: * Workspace support * interactive 'check mode' * Use `cargo` to parse the manifests (I'll squash prior to merging)
Similar to this, only for cargo:
https://github.com/tjunnone/npm-check-updates
Maybe this feature already exists but i couldn't find it, and nobody at the last meet knew about it.
The text was updated successfully, but these errors were encountered: