mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
496 B
Plaintext
18 lines
496 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|