cargo-info(1)
NAME
cargo-info --- Display information about a package.
SYNOPSIS
cargo info [options] spec
DESCRIPTION
This command displays information about a package. It fetches data from the package's Cargo.toml file and presents it in a human-readable format.
OPTIONS
Info Options
Display Options
Manifest Options
Common Options
ENVIRONMENT
See the reference for details on environment variables that Cargo reads.
EXIT STATUS
0: Cargo succeeded.101: Cargo failed to complete.
EXAMPLES
-
Inspect the
serdepackage from crates.io:cargo info serde -
Inspect the
serdepackage with version1.0.0:cargo info serde@1.0.0 -
Inspect the
serdepackage form the local registry:cargo info serde --registry my-registry