table of contents
CARGO-SEARCH(1) | General Commands Manual | CARGO-SEARCH(1) |
NAME¶
cargo-search — Search packages in the registry. Default registry is crates.io
SYNOPSIS¶
cargo search [options] [query…]
DESCRIPTION¶
This performs a textual search for crates on <https://crates.io>. The matching crates will be displayed along with their description in TOML format suitable for copying into a Cargo.toml manifest.
OPTIONS¶
Search Options¶
--limit limit
--index index
--registry registry
Display Options¶
-v, --verbose
-q, --quiet
--color when
May also be specified with the term.color config value <https://doc.rust-lang.org/cargo/reference/config.html>.
Common Options¶
+toolchain
--config KEY=VALUE or PATH
-C PATH
This option is only available on the nightly channel <https://doc.rust-lang.org/book/appendix-07-nightly-rust.html> and requires the -Z unstable-options flag to enable (see #10098 <https://github.com/rust-lang/cargo/issues/10098>).
-h, --help
-Z flag
ENVIRONMENT¶
See the reference <https://doc.rust-lang.org/cargo/reference/environment-variables.html> for details on environment variables that Cargo reads.
EXIT STATUS¶
EXAMPLES¶
cargo search serde