MAN page from openSUSE Leap 15 cargo-1.32.0-lp150.189.2.x86_64.rpm
CARGO\-PKGID
Section: Cargo Manual (1)
Updated: July 2016
Index NAME
cargo-pkgid - Print a fully qualified package specification
SYNOPSIS
I]cargo pkgid] [OPTIONS] [<SPEC>]
DESCRIPTION
Given a <SPEC> argument, print out the fully qualified package idspecifier. This command will generate an error if <SPEC> is ambiguous asto which package it refers to in the dependency graph. If no <SPEC> isgiven, then the pkgid for the local package is printed.
This command requires that a lockfile is available and dependencies havebeen fetched.
OPTIONS
- -h, --help
- Print this message.
- --manifest-path I]PATH]
- Path to the manifest to the package to clean.
- -v, --verbose
- Use verbose output.
- -q, --quiet
- No output printed to stdout.
- --color I]WHEN]
- Coloring: auto, always, never.
EXAMPLES
Retrieve package specification for foo package
C]$ cargo pkgid foo]
Retrieve package specification for version 1.0.0 of foo
C]$ cargo pkgid foo:1.0.0]
Retrieve package specification for foo from crates.io
C]$ cargo pkgid crates.io/foo]
SEE ALSO
cargo(1), cargo-generate-lockfile(1), cargo-search(1), cargo-metadata(1)
COPYRIGHT
This work is dual-licensed under Apache 2.0 and MIT terms.See I]COPYRIGHT] file in the cargo source distribution.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- SEE ALSO
- COPYRIGHT
This document was created byman2html,using the manual pages.