Skip to content

Commit 96f8dbf

Browse files
lf-ehuss
authored andcommitted
Remove every unnecessary appearance of the authors field in docs
1 parent b099886 commit 96f8dbf

File tree

7 files changed

+9
-10
lines changed

7 files changed

+9
-10
lines changed

src/doc/src/guide/cargo-toml-vs-cargo-lock.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ depend on another package:
2727
[package]
2828
name = "hello_world"
2929
version = "0.1.0"
30-
authors = ["Your Name <you@example.com>"]
3130

3231
[dependencies]
3332
rand = { git = "https://github.com/rust-lang-nursery/rand.git" }
@@ -63,7 +62,6 @@ manifest like this:
6362
[package]
6463
name = "hello_world"
6564
version = "0.1.0"
66-
authors = ["Your Name <you@example.com>"]
6765

6866
[dependencies]
6967
rand = { git = "https://github.com/rust-lang-nursery/rand.git" }

src/doc/src/guide/creating-a-new-project.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Let’s take a closer look at `Cargo.toml`:
2929
[package]
3030
name = "hello_world"
3131
version = "0.1.0"
32-
authors = ["Your Name <you@example.com>"]
3332
edition = "2018"
3433

3534
[dependencies]

src/doc/src/guide/dependencies.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ crates:
3535
[package]
3636
name = "hello_world"
3737
version = "0.1.0"
38-
authors = ["Your Name <you@example.com>"]
3938
edition = "2018"
4039

4140
[dependencies]

src/doc/src/reference/config.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,14 @@ schedule overlapping invocations of `rustc` in parallel when possible.
399399

400400
The `[cargo-new]` table defines defaults for the [`cargo new`] command.
401401

402+
##### `cargo-new.name`
403+
404+
This option is deprecated and unused.
405+
406+
##### `cargo-new.email`
407+
408+
This option is deprecated and unused.
409+
402410
##### `cargo-new.vcs`
403411
* Type: string
404412
* Default: "git" or "none"

src/doc/src/reference/overriding-dependencies.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ try to fix the bug! Originally your manifest will look like:
4949
[package]
5050
name = "my-library"
5151
version = "0.1.0"
52-
authors = ["..."]
5352

5453
[dependencies]
5554
uuid = "1.0"
@@ -131,7 +130,6 @@ repository we'll edit our `Cargo.toml` to look like
131130
[package]
132131
name = "my-library"
133132
version = "0.1.0"
134-
authors = ["..."]
135133

136134
[dependencies]
137135
uuid = "1.0.1"
@@ -157,7 +155,6 @@ It's also worth noting that `[patch]` applies *transitively*. Let's say you use
157155
[package]
158156
name = "my-binary"
159157
version = "0.1.0"
160-
authors = ["..."]
161158

162159
[dependencies]
163160
my-library = { git = 'https://example.com/git/my-library' }
@@ -212,7 +209,6 @@ look at the `my-binary` manifest from above again as well:
212209
[package]
213210
name = "my-binary"
214211
version = "0.1.0"
215-
authors = ["..."]
216212

217213
[dependencies]
218214
my-library = { git = 'https://example.com/git/my-library' }

src/doc/src/reference/publishing.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ request the org owner to do so.
257257

258258
[RFC 1105]: https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md
259259
[Rust API Guidelines]: https://rust-lang.github.io/api-guidelines/
260-
[`authors`]: manifest.md#the-authors-field
261260
[`cargo login`]: ../commands/cargo-login.md
262261
[`cargo package`]: ../commands/cargo-package.md
263262
[`cargo publish`]: ../commands/cargo-publish.md

src/doc/src/reference/registries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ considered as an exhaustive list of restrictions [crates.io] imposes.
385385
"extras": ["rand/simd_support"]
386386
},
387387
// List of strings of the authors.
388-
// May be empty. crates.io requires at least one entry.
388+
// May be empty.
389389
"authors": ["Alice <a@example.com>"],
390390
// Description field from the manifest.
391391
// May be null. crates.io requires at least some content.

0 commit comments

Comments
 (0)