Skip to content

Commit

Permalink
Remove direction to authenticate with cargo login {API token}
Browse files Browse the repository at this point in the history
  • Loading branch information
schuelermine committed Jan 15, 2023
1 parent 2cd1b55 commit f2bf90c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ch14-02-publishing-to-crates-io.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,12 @@ in via a GitHub account. (The GitHub account is currently a requirement, but
the site might support other ways of creating an account in the future.) Once
you’re logged in, visit your account settings at
[https://crates.io/me/](https://crates.io/me/)<!-- ignore --> and retrieve your
API key. Then run the `cargo login` command with your API key, like this:
API key. Then run the `cargo login` command and paste your API key when prompted, like this:

```console
$ cargo login abcdefghijklmnopqrstuvwxyz012345
$ cargo login
please paste the API Token found on https://crates.io/me below
abcdefghijklmnopqrstuvwxyz012345
```

This command will inform Cargo of your API token and store it locally in
Expand Down

0 comments on commit f2bf90c

Please sign in to comment.