1CARGO-VERIFY-PROJECT(1)                                CARGO-VERIFY-PROJECT(1)
2
3
4

NAME

6       cargo-verify-project - Check correctness of crate manifest
7

SYNOPSIS

9       cargo verify-project [OPTIONS]
10

DESCRIPTION

12       This command will parse the local manifest and check its validity. It
13       emits a JSON object with the result. A successful validation will
14       display:
15
16           {"success":"true"}
17
18       An invalid workspace will display:
19
20           {"invalid":"human-readable error message"}
21

OPTIONS

23   Display Options
24       -v, --verbose
25           Use verbose output. May be specified twice for "very verbose"
26           output which includes extra output such as dependency warnings and
27           build script output. May also be specified with the term.verbose
28           config value
29           <https://doc.rust-lang.org/cargo/reference/config.html>.
30
31       -q, --quiet
32           No output printed to stdout.
33
34       --color WHEN
35           Control when colored output is used. Valid values:
36
37           ·   auto (default): Automatically detect if color support is
38               available on the terminal.
39
40           ·   always: Always display colors.
41
42           ·   never: Never display colors.
43
44           May also be specified with the term.color config value
45           <https://doc.rust-lang.org/cargo/reference/config.html>.
46
47   Manifest Options
48       --manifest-path PATH
49           Path to the Cargo.toml file. By default, Cargo searches in the
50           current directory or any parent directory for the Cargo.toml file.
51
52       --frozen, --locked
53           Either of these flags requires that the Cargo.lock file is
54           up-to-date. If the lock file is missing, or it needs to be updated,
55           Cargo will exit with an error. The --frozen flag also prevents
56           Cargo from attempting to access the network to determine if it is
57           out-of-date.
58
59           These may be used in environments where you want to assert that the
60           Cargo.lock file is up-to-date (such as a CI build) or want to avoid
61           network access.
62
63   Common Options
64       -h, --help
65           Prints help information.
66
67       -Z FLAG...
68           Unstable (nightly-only) flags to Cargo. Run cargo -Z help for
69           details.
70

ENVIRONMENT

72       See the reference
73       <https://doc.rust-lang.org/cargo/reference/environment-variables.html>
74       for details on environment variables that Cargo reads.
75

EXIT STATUS

77       0
78           The workspace is OK.
79
80       1
81           The workspace is invalid.
82

EXAMPLES

84        1. Check the current workspace for errors:
85
86               cargo verify-project
87

SEE ALSO

89       cargo(1), cargo-package(1)
90
91
92
93                                  2018-12-20           CARGO-VERIFY-PROJECT(1)
Impressum