Skip to content
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

Add --precise flag for cargo-upgrade #200

Merged
merged 13 commits into from
Feb 16, 2018
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ repository = "killercup/cargo-edit"
repository = "killercup/cargo-edit"

[dependencies]
cargo_metadata = "0.3.0"
cargo_metadata = "0.4.1"
docopt = "0.8"
env_proxy = "0.2"
error-chain = "0.11.0"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ $ cargo upgrade -d regex --all
Upgrade dependencies as specified in the local manifest file (i.e. Cargo.toml).

Usage:
cargo upgrade [--all] [--dependency <dep>...] [--manifest-path <path>] [options]
cargo upgrade [options]
cargo upgrade [options] <dependency>... [--precise <PRECISE>]
cargo upgrade (-h | --help)
cargo upgrade (-V | --version)

Options:
--all Upgrade all packages in the workspace.
-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.
--precise PRECISE Upgrade dependencies to exactly PRECISE.
--manifest-path PATH Path to the manifest to upgrade.
--allow-prerelease Include prerelease versions when fetching from crates.io (e.g.
'0.6.0-alpha'). Defaults to false.
--dry-run Print changes to be made without making them. Defaults to false.
Expand Down
Loading