cargo pkgid <SPEC>

Print a fully qualified package specification

Arguments

NameDescription
SPEC

Options

NameDescription
-p, --package <package...>Argument to get the package ID specifier for
--manifest-path <manifest-path>Path to Cargo.toml
--color <color>Coloring: auto, always, never
--config <config>
  • Repeatable ♾
-Z <unstable-features>
  • Repeatable ♾
-q, --quietDo not print cargo log messages
-h, --helpPrint help information
-v, --verbose
  • Repeatable ♾
--frozenRequire Cargo.lock and cache are up to date
--lockedRequire Cargo.lock is up to date
--offlineRun without accessing the network