Skip to content

Commit fc5e17a

Browse files
committed
Document unstable 'crate-versions' flag
#7907
1 parent 1ea41ba commit fc5e17a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/src/reference/unstable.md

+7
Original file line numberDiff line numberDiff line change
@@ -541,3 +541,10 @@ The available options are:
541541

542542
* `compare` — This option compares the resolved features to the old resolver,
543543
and will print any differences.
544+
545+
### crate-versions
546+
* Tracking Issue: [#7907](https://github.com/rust-lang/cargo/issues/7907)
547+
548+
The `-Z crate-versions` flag will make `cargo doc` include appropriate crate versions for the current crate and all of its dependencies (unless `--no-deps` was provided) in the compiled documentation.
549+
550+
You can find an example screenshot for the cargo itself in the tracking issue.

0 commit comments

Comments
 (0)