Skip to content

Commit d81752c

Browse files
committed
docs: a page for deprecated and removed commands
1 parent eb2be13 commit d81752c

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

src/doc/book.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ search.use-boolean-and = true
1010

1111
[output.html.redirect]
1212
"/guide/build-cache.html" = "../reference/build-cache.html"
13+
"/commands/cargo-git-checkout.html" = "./deprecated-and-removed.html"
14+
"/commands/cargo-read-manifest.html" = "./deprecated-and-removed.html"
15+
"/commands/cargo-verify-project.html" = "./deprecated-and-removed.html"

src/doc/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
* [cargo package](commands/cargo-package.md)
9595
* [cargo publish](commands/cargo-publish.md)
9696
* [cargo yank](commands/cargo-yank.md)
97+
* [Deprecated and Removed](commands/deprecated-and-removed.md)
9798

9899
* [FAQ](faq.md)
99100
* [Appendix: Glossary](appendix/glossary.md)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Deprecated and Removed Commands
2+
3+
These commands have been deprecated or removed in early Rust releases.
4+
Deprecated commands receive only critical bug fixes,
5+
and may be removed in future versions.
6+
Removed commands are no longer functional and are unsupported.
7+
8+
* `read-manifest` --- deprecated since Rust 1.13
9+
* `git-checkout` --- removed since Rust 1.44
10+
* `verify-project` --- deprecated since Rust 1.84

src/doc/src/commands/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
* [Manifest Commands](manifest-commands.md)
55
* [Package Commands](package-commands.md)
66
* [Publishing Commands](publishing-commands.md)
7+
* [Deprecated and Removed](deprecated-and-removed.md)

0 commit comments

Comments
 (0)