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`
This commit is contained in:
Emily Selwood 2023-01-24 09:01:29 +00:00 committed by GitHub
parent b862c6df16
commit 0a9d5207e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,12 @@ limit to the number of versions which can be published, however.
First things first, youll 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