Skip to content

Commit 3c5af6b

Browse files
committed
Auto merge of #11620 - emilyselwood:patch-1, r=Eh2406
Add a note about verifying your email address on crates.io crates.io requires you to verify your email address. This is not picked up by `cargo publish --dry-run`
2 parents 99f841c + 0a9d520 commit 3c5af6b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/doc/src/reference/publishing.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ limit to the number of versions which can be published, however.
1212

1313
First things first, you’ll need an account on [crates.io] to acquire
1414
an API token. To do so, [visit the home page][crates.io] and log in via a GitHub
15-
account (required for now). After this, visit your [Account
16-
Settings](https://crates.io/me) page and run the [`cargo login`] command.
15+
account (required for now). You will also need to verify your email address on the
16+
[Account Settings](https://crates.io/me) page. Once that is done create an API token,
17+
make sure you copy it. Once you leave the page you will not be able to see it
18+
again.
19+
20+
Then run the [`cargo login`] command.
1721

1822
```console
1923
$ cargo login

0 commit comments

Comments
 (0)