Skip to content

Commit

Permalink
Auto merge of #14736 - MoskalykA:deprecate-cargo-verify-project, r=we…
Browse files Browse the repository at this point in the history
…ihanglo

Deprecate `cargo verify-project`

### What does this PR try to resolve?

Information is available in the following issue #14679

### Additional information

Closes #14679
  • Loading branch information
bors committed Oct 28, 2024
2 parents e75214e + 7a517af commit eb2be13
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 564 deletions.
10 changes: 6 additions & 4 deletions src/bin/cargo/commands/verify_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ use std::process;

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

pub fn exec(gctx: &mut GlobalContext, args: &ArgMatches) -> CliResult {
Expand Down
58 changes: 0 additions & 58 deletions src/doc/man/cargo-verify-project.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/doc/man/cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ available at <https://rust-lang.org>.
{{man "cargo-vendor" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Vendor all dependencies locally.

{{man "cargo-verify-project" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Check correctness of crate manifest.

### Package Commands

{{man "cargo-init" 1}}\
Expand Down
137 changes: 0 additions & 137 deletions src/doc/man/generated_txt/cargo-verify-project.txt

This file was deleted.

3 changes: 0 additions & 3 deletions src/doc/man/generated_txt/cargo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ COMMANDS
cargo-vendor(1)
    Vendor all dependencies locally.

cargo-verify-project(1)
    Check correctness of crate manifest.

Package Commands
cargo-init(1)
    Create a new Cargo package in an existing directory.
Expand Down
1 change: 0 additions & 1 deletion src/doc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
* [cargo tree](commands/cargo-tree.md)
* [cargo update](commands/cargo-update.md)
* [cargo vendor](commands/cargo-vendor.md)
* [cargo verify-project](commands/cargo-verify-project.md)
* [Package Commands](commands/package-commands.md)
* [cargo init](commands/cargo-init.md)
* [cargo install](commands/cargo-install.md)
Expand Down
154 changes: 0 additions & 154 deletions src/doc/src/commands/cargo-verify-project.md

This file was deleted.

Loading

0 comments on commit eb2be13

Please sign in to comment.