]> git.proxmox.com Git - cargo.git/commitdiff
Document unstable 'crate-versions' flag
authorAlex Tokarev <aleksator@gmail.com>
Thu, 20 Feb 2020 17:17:10 +0000 (20:17 +0300)
committerAlex Tokarev <aleksator@gmail.com>
Thu, 20 Feb 2020 21:34:54 +0000 (00:34 +0300)
https://github.com/rust-lang/cargo/issues/7907

src/doc/src/reference/unstable.md

index 48b32afedc1ffca09e2d12f6704ed25374d2ea46..144af8c669ac81de7cf29eb7c383e07222c9b381 100644 (file)
@@ -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.