Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(unstable): --message-format flag in cargo-package
  • Loading branch information
weihanglo committed Mar 26, 2025
commit 02226aee64f715e88a8f9ed48edff78d7ac644e3
11 changes: 11 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ Each new feature described below should explain how to use it.
* [package-workspace](#package-workspace) --- Allows for packaging and publishing multiple crates in a workspace.
* [native-completions](#native-completions) --- Move cargo shell completions to native completions.
* [warnings](#warnings) --- controls warning behavior; options for allowing or denying warnings.
* [Package message format](#package-message-format) --- Message format for `cargo package`.

## allow-features

Expand Down Expand Up @@ -1889,6 +1890,16 @@ Specify which packages participate in [feature unification](../reference/feature
* `package` _(unimplemented)_: Dependency features are considered on a package-by-package basis,
preferring duplicate builds of dependencies when different sets of features are activated by the packages.

## Package message format

* Tracking Issue: [#11666](https://github.com/rust-lang/cargo/issues/11666)

The `--message-format` flag in `cargo package` controls the output message format.
Currently, it only works with the `--list` flag and affects the file listing format,
Requires `-Zunstable-options`.
See [`cargo package --message-format`](../commands/cargo-package.md#option-cargo-package---message-format)
for more information.

# Stabilized and removed features

## Compile progress
Expand Down