cargo-{install,uninstall,search}: add page (#11351)

This commit is contained in:
Lena
2023-11-01 06:12:12 +01:00
committed by GitHub
parent ab8e6f24c4
commit 03161cf052
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# cargo search
> Search for packages on <https://crates.io>.
> The crates are displayed along with descriptions in TOML format suitable for copying into `Cargo.toml`.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-search.html>.
- Search for packages:
`cargo search {{query}}`
- Show `n` results (default: 10, max: 100):
`cargo search --limit {{n}} {{query}}`