Repository navigation
fix(update)!: Remove unstable --breaking
#17333
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,6 @@ Each new feature described below should explain how to use it. | |
| * [msrv-policy](#msrv-policy) --- MSRV-aware resolver and version selection | ||
| * [precise-pre-release](#precise-pre-release) --- Allows pre-release versions to be selected with `update --precise` | ||
| * [sbom](#sbom) --- Generates SBOM pre-cursor files for compiled artifacts | ||
| * [update-breaking](#update-breaking) --- Allows upgrading to breaking versions with `update --breaking` | ||
| * [feature-unification](#feature-unification) --- Enable new feature unification modes in workspaces | ||
| * [lockfile-publish-time](#lockfile-publish-time) --- Limit resolver to packages older than the specified time | ||
| * [min-publish-age](#min-publish-age) --- Filters out dependency versions published more recently than a configured minimum age. | ||
|
|
@@ -503,30 +502,6 @@ that are uplifted into the target or artifact directories. | |
| } | ||
| ``` | ||
|
|
||
| ## update-breaking | ||
|
|
||
| * Tracking Issue: [#12425](https://github.com/rust-lang/cargo/issues/12425) | ||
|
|
||
| Allow upgrading dependencies version requirements in `Cargo.toml` across SemVer | ||
| incompatible versions using with the `--breaking` flag. | ||
|
|
||
| This only applies to dependencies when | ||
| - The package is a dependency of a workspace member | ||
| - The dependency is not renamed | ||
| - A SemVer-incompatible version is available | ||
| - The "SemVer operator" is used (`^` which is the default) | ||
|
|
||
| Users may further restrict which packages get upgraded by specifying them on | ||
| the command line. | ||
|
|
||
| Example: | ||
| ```console | ||
| $ cargo +nightly -Zunstable-options update --breaking | ||
| $ cargo +nightly -Zunstable-options update --breaking clap | ||
| ``` | ||
|
|
||
| *This is meant to fill a similar role as [cargo-upgrade](https://github.com/killercup/cargo-edit/)* | ||
|
|
||
| ## build-std | ||
| * Tracking Repository: <https://github.com/rust-lang/wg-cargo-std-aware> | ||
|
|
||
|
|
@@ -2485,3 +2460,8 @@ Support for `resolver.lockfile-path` config field has been stabilized in Rust 1. | |
| ## warnings | ||
|
|
||
| The `build.warnings` config field has been stabilized in Rust 1.97. | ||
|
|
||
| ## update-breaking | ||
|
|
||
| The `cargo update -Zunstable-options --breaking` flag has been removed in 1.99-nightly. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs updating if this slips into the next release
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likely to slip, though if it gets enough signoff today I'll just merge this. Doesn't need to wait 10 more days. |
||
| See <https://github.com/rust-lang/cargo/pull/17333> fopr the reason for its removal. | ||
Uh oh!
There was an error while loading. Please reload this page.