mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
478 B
Plaintext
19 lines
478 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|