Skip to content

Commit

Permalink
Document unstable 'crate-versions' flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksator committed Feb 20, 2020
1 parent 1ea41ba commit fc5e17a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,3 +541,10 @@ The available options are:

* `compare` — This option compares the resolved features to the old resolver,
and will print any differences.

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

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.

You can find an example screenshot for the cargo itself in the tracking issue.

0 comments on commit fc5e17a

Please sign in to comment.