mirror of https://github.com/CrimsonTome/tldr.git
14 lines
385 B
Markdown
14 lines
385 B
Markdown
|
# 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}}`
|