diff --git a/src/doc/man/cargo-package.adoc b/src/doc/man/cargo-package.adoc index bc81620afa6..26eed2b1324 100644 --- a/src/doc/man/cargo-package.adoc +++ b/src/doc/man/cargo-package.adoc @@ -23,6 +23,8 @@ steps: will ignore the path key for dependencies in published packages. . Create the compressed `.crate` file. - The original `Cargo.toml` file is rewritten and normalized. + - `[patch]`, `[replace]`, and `[workspace]` sections are removed from the + manifest. - A `.cargo_vcs_info.json` file is included that contains information about the current VCS checkout hash if available (not included with `--allow-dirty`). diff --git a/src/doc/man/generated/cargo-package.html b/src/doc/man/generated/cargo-package.html index 8658e234a46..268789ce49f 100644 --- a/src/doc/man/generated/cargo-package.html +++ b/src/doc/man/generated/cargo-package.html @@ -40,6 +40,10 @@

DESCRIPTION

The original Cargo.toml file is rewritten and normalized.

  • +

    [patch], [replace], and [workspace] sections are removed from the +manifest.

    +
  • +
  • A .cargo_vcs_info.json file is included that contains information about the current VCS checkout hash if available (not included with --allow-dirty).

    diff --git a/src/doc/man/generated/cargo-publish.html b/src/doc/man/generated/cargo-publish.html index 8e631b2489e..e13b4a17c09 100644 --- a/src/doc/man/generated/cargo-publish.html +++ b/src/doc/man/generated/cargo-publish.html @@ -26,9 +26,6 @@

    DESCRIPTION