-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Cargo now has an [`info` subcommand](https://doc.rust-lang.org/nightly/cargo/com | |
For example, here's what you could see for `cargo info cc`: | ||
|
||
<pre> | ||
<b><span style="color:#0A0">cc</span></b> <b><span style="color:#0AA">#build-dependencies</span></b> | ||
<code class="language-text"><b><span style="color:#0A0">cc</span></b> <b><span style="color:#0AA">#build-dependencies</span></b> | ||
A build-time dependency for Cargo build scripts to assist in invoking the native | ||
C compiler to compile native C code into a static archive to be linked into Rust | ||
code. | ||
|
@@ -41,7 +41,7 @@ code. | |
jobserver = [] | ||
parallel = [dep:libc, dep:jobserver] | ||
<b><span style="color:#0AA">note</span></b><b>:</b> to see how you depend on cc, run `<b><span style="color:#0AA">cargo tree --invert --package [email protected]</span></b>` | ||
</pre> | ||
</code></pre> | ||
|
||
By default, `cargo info` describes the package version in the local `Cargo.lock`, if any. As you can see, it will indicate when there's a newer version too, and `cargo info [email protected]` would report on that. | ||
|
||
|