Skip to content

Commit

Permalink
Auto merge of #11620 - emilyselwood:patch-1, r=Eh2406
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed Jan 24, 2023
2 parents 99f841c + 0a9d520 commit 3c5af6b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/doc/src/reference/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ limit to the number of versions which can be published, however.

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

Then run the [`cargo login`] command.

```console
$ cargo login
Expand Down

0 comments on commit 3c5af6b

Please sign in to comment.