Skip to content

Commit dea55c7

Browse files
committed
docs: unstable docs for cargo package --list json
1 parent 4f46f5c commit dea55c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/doc/src/reference/unstable.md

+11
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Each new feature described below should explain how to use it.
123123
* [package-workspace](#package-workspace) --- Allows for packaging and publishing multiple crates in a workspace.
124124
* [native-completions](#native-completions) --- Move cargo shell completions to native completions.
125125
* [warnings](#warnings) --- controls warning behavior; options for allowing or denying warnings.
126+
* [Package message format](#package-message-format) --- Message format for `cargo package`.
126127

127128
## allow-features
128129

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

1893+
## Package message format
1894+
1895+
* Tracking Issue: [#11666](https://github.com/rust-lang/cargo/issues/11666)
1896+
1897+
The `--message-format` flag in `cargo package` controls the output message format.
1898+
Currently, it only works with the `--list` flag and affects the file listing format,
1899+
Requires `-Zunstable-options`.
1900+
See [`cargo package --message-format`](../commands/cargo-package.md#option-cargo-package---message-format)
1901+
for more information.
1902+
18921903
# Stabilized and removed features
18931904

18941905
## Compile progress

0 commit comments

Comments
 (0)