cargo pkgid
Print the fully qualified package ID specifier for a package or dependency in the current workspace. More information: https://doc.rust-lang.org/cargo/commands/cargo-pkgid.html.
- Print the fully qualified package specification for the current project:
cargo pkgid
- Print the fully qualified package specification for the specified package:
cargo pkgid {{partial_pkgspec}}