src/doc/src/commands/cargo-info.md
cargo-info --- Display information about a package.
cargo info [options] spec
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.
See the reference for details on environment variables that Cargo reads.
0: Cargo succeeded.101: Cargo failed to complete.Inspect the serde package from crates.io:
cargo info serde
Inspect the serde package with version 1.0.0:
cargo info [email protected]
Inspect the serde package from the local registry:
cargo info serde --registry my-registry