Skip to content

Commit eb2be13

Browse files
committed
Auto merge of #14736 - MoskalykA:deprecate-cargo-verify-project, r=weihanglo
Deprecate `cargo verify-project` ### What does this PR try to resolve? Information is available in the following issue #14679 ### Additional information Closes #14679
2 parents e75214e + 7a517af commit eb2be13

File tree

12 files changed

+24
-564
lines changed

12 files changed

+24
-564
lines changed

src/bin/cargo/commands/verify_project.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ use std::process;
55

66
pub fn cli() -> Command {
77
subcommand("verify-project")
8-
.about("Check correctness of crate manifest")
8+
.about(
9+
"\
10+
Check correctness of crate manifest.
11+
12+
Deprecated, see https://github.com/rust-lang/cargo/issues/14679.",
13+
)
914
.arg_silent_suggestion()
1015
.arg_manifest_path()
11-
.after_help(color_print::cstr!(
12-
"Run `<cyan,bold>cargo help verify-project</>` for more detailed information.\n"
13-
))
1416
}
1517

1618
pub fn exec(gctx: &mut GlobalContext, args: &ArgMatches) -> CliResult {

src/doc/man/cargo-verify-project.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/doc/man/cargo.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ available at <https://rust-lang.org>.
8686
{{man "cargo-vendor" 1}}\
8787
&nbsp;&nbsp;&nbsp;&nbsp;Vendor all dependencies locally.
8888

89-
{{man "cargo-verify-project" 1}}\
90-
&nbsp;&nbsp;&nbsp;&nbsp;Check correctness of crate manifest.
91-
9289
### Package Commands
9390

9491
{{man "cargo-init" 1}}\

src/doc/man/generated_txt/cargo-verify-project.txt

Lines changed: 0 additions & 137 deletions
This file was deleted.

src/doc/man/generated_txt/cargo.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ COMMANDS
8282
cargo-vendor(1)
8383
    Vendor all dependencies locally.
8484

85-
cargo-verify-project(1)
86-
    Check correctness of crate manifest.
87-
8885
Package Commands
8986
cargo-init(1)
9087
    Create a new Cargo package in an existing directory.

src/doc/src/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
* [cargo tree](commands/cargo-tree.md)
8282
* [cargo update](commands/cargo-update.md)
8383
* [cargo vendor](commands/cargo-vendor.md)
84-
* [cargo verify-project](commands/cargo-verify-project.md)
8584
* [Package Commands](commands/package-commands.md)
8685
* [cargo init](commands/cargo-init.md)
8786
* [cargo install](commands/cargo-install.md)

src/doc/src/commands/cargo-verify-project.md

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)