commands.sh

cargo pkgid

all

Print the fully qualified package ID specifier for a package or dependency in the current workspace.

More info →

Examples (2)

Print the fully qualified package specification for the current project

Print the fully qualified package specification for the specified package

cargo pkgid partial_pkgspec
made by @shridhargupta | data from tldr-pages