HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandfullycliprintqualifiedpackagecargo pkgid

Problem

How to use the cargo pkgid command: 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>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/cargo pkgid

Revisions (0)

No revisions yet.