-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #13298 - weihanglo:pkgid, r=epage
docs: add more links to pkgid spec chapter
- Loading branch information
Showing
8 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ _url_`#`_version_ | `https://github.com/rust-lang/cargo#0.33.0` | |
_url_`#`_name_ | `https://github.com/rust-lang/crates.io-index#bitflags` | ||
_url_`#`_name_`@`_version_ | `https://github.com/rust-lang/cargo#[email protected]` | ||
|
||
The specification grammar can be found in chapter [Package ID Specifications]. | ||
|
||
## OPTIONS | ||
|
||
### Package Selection | ||
|
@@ -86,4 +88,6 @@ Get the package ID for the given package instead of the current package. | |
cargo pkgid file:///path/to/local/package#foo | ||
|
||
## SEE ALSO | ||
{{man "cargo" 1}}, {{man "cargo-generate-lockfile" 1}}, {{man "cargo-metadata" 1}} | ||
{{man "cargo" 1}}, {{man "cargo-generate-lockfile" 1}}, {{man "cargo-metadata" 1}}, [Package ID Specifications] | ||
|
||
[Package ID Specifications]: ../reference/pkgid-spec.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,10 @@ DESCRIPTION | |
| url#name@version | https://github.com/rust-lang/cargo#[email protected] | | ||
+-----------------+--------------------------------------------------+ | ||
|
||
The specification grammar can be found in chapter Package ID | ||
Specifications | ||
<https://doc.rust-lang.org/cargo/reference/pkgid-spec.html>. | ||
|
||
OPTIONS | ||
Package Selection | ||
-p spec, --package spec | ||
|
@@ -166,5 +170,7 @@ EXAMPLES | |
cargo pkgid file:///path/to/local/package#foo | ||
|
||
SEE ALSO | ||
cargo(1), cargo-generate-lockfile(1), cargo-metadata(1) | ||
cargo(1), cargo-generate-lockfile(1), cargo-metadata(1), Package ID | ||
Specifications | ||
<https://doc.rust-lang.org/cargo/reference/pkgid-spec.html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ _url_`#`_version_ | `https://github.com/rust-lang/cargo#0.33.0` | |
_url_`#`_name_ | `https://github.com/rust-lang/crates.io-index#bitflags` | ||
_url_`#`_name_`@`_version_ | `https://github.com/rust-lang/cargo#[email protected]` | ||
|
||
The specification grammar can be found in chapter [Package ID Specifications]. | ||
|
||
## OPTIONS | ||
|
||
### Package Selection | ||
|
@@ -181,4 +183,6 @@ details on environment variables that Cargo reads. | |
cargo pkgid file:///path/to/local/package#foo | ||
|
||
## SEE ALSO | ||
[cargo(1)](cargo.html), [cargo-generate-lockfile(1)](cargo-generate-lockfile.html), [cargo-metadata(1)](cargo-metadata.html) | ||
[cargo(1)](cargo.html), [cargo-generate-lockfile(1)](cargo-generate-lockfile.html), [cargo-metadata(1)](cargo-metadata.html), [Package ID Specifications] | ||
|
||
[Package ID Specifications]: ../reference/pkgid-spec.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters