-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
26 changed files
with
281 additions
and
30 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# cargo-report(1) | ||
|
||
## NAME | ||
|
||
cargo-report - Generate and display various kinds of reports | ||
|
||
## SYNOPSIS | ||
|
||
`cargo report` _type_ [_options_] | ||
|
||
### DESCRIPTION | ||
|
||
Displays a report of the given _type_ - currently, only `future-incompat` is supported | ||
|
||
## OPTIONS | ||
|
||
{{#options}} | ||
|
||
{{#option "`--id` _id_" }} | ||
Show the report with the specified Cargo-generated id | ||
{{/option}} | ||
|
||
{{#option "`-p` _spec_..." "`--package` _spec_..." }} | ||
Only display a report for the specified package | ||
{{/option}} | ||
|
||
{{/options}} | ||
|
||
## EXAMPLES | ||
|
||
1. Display the latest future-incompat report: | ||
|
||
cargo report future-incompat | ||
|
||
2. Display the latest future-incompat report for a specific package: | ||
|
||
cargo report future-incompat --package my-dep:0.0.1 | ||
|
||
## SEE ALSO | ||
{{man "cargo" 1}} |
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CARGO-REPORT(1) | ||
|
||
NAME | ||
cargo-report - Generate and display various kinds of reports | ||
|
||
SYNOPSIS | ||
cargo report type [options] | ||
|
||
DESCRIPTION | ||
Displays a report of the given type - currently, only future-incompat is | ||
supported | ||
|
||
OPTIONS | ||
--id id | ||
Show the report with the specified Cargo-generated id | ||
|
||
-p spec..., --package spec... | ||
Only display a report for the specified package | ||
|
||
EXAMPLES | ||
1. Display the latest future-incompat report: | ||
|
||
cargo report future-incompat | ||
|
||
2. Display the latest future-incompat report for a specific package: | ||
|
||
cargo report future-incompat --package my-dep:0.0.1 | ||
|
||
SEE ALSO | ||
cargo(1) | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{#option "`--future-incompat-report`"}} | ||
Displays a future-incompat report for any future-incompatible warnings | ||
produced during execution of this command | ||
|
||
See {{man "cargo-report" 1}} | ||
{{/option}} |
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
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# cargo-report(1) | ||
|
||
## NAME | ||
|
||
cargo-report - Generate and display various kinds of reports | ||
|
||
## SYNOPSIS | ||
|
||
`cargo report` _type_ [_options_] | ||
|
||
### DESCRIPTION | ||
|
||
Displays a report of the given _type_ - currently, only `future-incompat` is supported | ||
|
||
## OPTIONS | ||
|
||
<dl> | ||
|
||
<dt class="option-term" id="option-cargo-report---id"><a class="option-anchor" href="#option-cargo-report---id"></a><code>--id</code> <em>id</em></dt> | ||
<dd class="option-desc">Show the report with the specified Cargo-generated id</dd> | ||
|
||
|
||
<dt class="option-term" id="option-cargo-report--p"><a class="option-anchor" href="#option-cargo-report--p"></a><code>-p</code> <em>spec</em>...</dt> | ||
<dt class="option-term" id="option-cargo-report---package"><a class="option-anchor" href="#option-cargo-report---package"></a><code>--package</code> <em>spec</em>...</dt> | ||
<dd class="option-desc">Only display a report for the specified package</dd> | ||
|
||
|
||
</dl> | ||
|
||
## EXAMPLES | ||
|
||
1. Display the latest future-incompat report: | ||
|
||
cargo report future-incompat | ||
|
||
2. Display the latest future-incompat report for a specific package: | ||
|
||
cargo report future-incompat --package my-dep:0.0.1 | ||
|
||
## SEE ALSO | ||
[cargo(1)](cargo.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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Future incompat report | ||
|
||
Cargo checks for future-incompatible warnings in all dependencies. These are warnings for | ||
changes that may become hard errors in the future, causing the dependency to | ||
stop building in a future version of rustc. If any warnings are found, a small | ||
notice is displayed indicating that the warnings were found, and provides | ||
instructions on how to display a full report. | ||
|
||
A full report can be displayed with the `cargo report future-incompatibilities | ||
--id ID` command, or by running the build again with | ||
the `--future-incompat-report` flag. The developer should then update their | ||
dependencies to a version where the issue is fixed, or work with the | ||
developers of the dependencies to help resolve the issue. | ||
|
||
This feature can be configured through a `[future-incompat-report]` | ||
section in `.cargo/config`. Currently, the supported options are: | ||
|
||
``` | ||
[future-incompat-report] | ||
frequency = FREQUENCY | ||
``` | ||
|
||
The supported values for `FREQUENCY` are 'always` and 'never', which control | ||
whether or not a message is printed out at the end of `cargo build` / `cargo check`. |
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
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
Oops, something went wrong.