From 0a9d5207e2677c3ac45a09800399c7e3855a7679 Mon Sep 17 00:00:00 2001 From: Emily Selwood Date: Tue, 24 Jan 2023 09:01:29 +0000 Subject: [PATCH] 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` --- src/doc/src/reference/publishing.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/doc/src/reference/publishing.md b/src/doc/src/reference/publishing.md index 6e78445edc2..013faf6e246 100644 --- a/src/doc/src/reference/publishing.md +++ b/src/doc/src/reference/publishing.md @@ -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