Skip to content

Commit

Permalink
Add a note about verifying your email address on crates.io
Browse files Browse the repository at this point in the history
crates.io requires you to verify your email address. This is not picked up by `cargo publish --dry-run`
  • Loading branch information
emilyselwood committed Jan 24, 2023
1 parent b862c6d commit 0a9d520
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 0a9d520

Please sign in to comment.