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

EXAMPLES

  1. Inspect the serde package from crates.io:

     cargo info serde
    
  2. Inspect the serde package with version 1.0.0:

     cargo info serde@1.0.0
    
  3. Inspect the serde package form the local registry:

     cargo info serde --registry my-registry
    

SEE ALSO

cargo(1), cargo-search(1)