Skip to content

Commit 67abe0f

Browse files
lf-ehuss
authored andcommitted
Finish documentation changes
1 parent 63717bf commit 67abe0f

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

src/doc/src/reference/environment-variables.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ system:
4646
will otherwise be used. See also [`build.incremental`] config value.
4747
* `CARGO_CACHE_RUSTC_INFO` — If this is set to 0 then Cargo will not try to cache
4848
compiler version information.
49-
* `CARGO_NAME` — The author name to use for [`cargo new`].
50-
* `CARGO_EMAIL` — The author email to use for [`cargo new`].
5149
* `HTTPS_PROXY` or `https_proxy` or `http_proxy` — The HTTP proxy to use, see
5250
[`http.proxy`] for more detail.
5351
* `HTTP_TIMEOUT` — The HTTP timeout in seconds, see [`http.timeout`] for more
@@ -78,8 +76,6 @@ supported environment variables are:
7876
* `CARGO_BUILD_INCREMENTAL` — Incremental compilation, see [`build.incremental`].
7977
* `CARGO_BUILD_DEP_INFO_BASEDIR` — Dep-info relative directory, see [`build.dep-info-basedir`].
8078
* `CARGO_BUILD_PIPELINING` — Whether or not to use `rustc` pipelining, see [`build.pipelining`].
81-
* `CARGO_CARGO_NEW_NAME` — The author name to use with [`cargo new`], see [`cargo-new.name`].
82-
* `CARGO_CARGO_NEW_EMAIL` — The author email to use with [`cargo new`], see [`cargo-new.email`].
8379
* `CARGO_CARGO_NEW_VCS` — The default source control system with [`cargo new`], see [`cargo-new.vcs`].
8480
* `CARGO_HTTP_DEBUG` — Enables HTTP debugging, see [`http.debug`].
8581
* `CARGO_HTTP_PROXY` — Enables HTTP proxy, see [`http.proxy`].

src/doc/src/reference/manifest.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,19 @@ breaking change.
107107
<a id="the-authors-field-optional"></a>
108108
#### The `authors` field
109109

110-
The `authors` field lists people or organizations that are considered the
111-
"authors" of the package. The exact meaning is open to interpretation — it may
112-
list the original or primary authors, current maintainers, or owners of the
113-
package. These names will be listed on the crate's page on
114-
[crates.io]. An optional email address may be included within angled
115-
brackets at the end of each author.
116-
117-
> **Note**: [crates.io] requires at least one author to be listed.
110+
The optional `authors` field lists people or organizations that are considered
111+
the "authors" of the package. The exact meaning is open to interpretation — it
112+
may list the original or primary authors, current maintainers, or owners of the
113+
package. An optional email address may be included within angled brackets at
114+
the end of each author entry.
115+
116+
This field is only surfaced in package metadata and in the `CARGO_PKG_AUTHORS`
117+
environment variable within `build.rs`. It is not displayed in the [crates.io]
118+
user interface.
119+
120+
> **Warning**: Package manifests cannot be changed once published, so this
121+
> field cannot be changed or removed in already-published versions of a
122+
> package.
118123
119124
<a id="the-edition-field-optional"></a>
120125
#### The `edition` field

0 commit comments

Comments
 (0)