Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/components/settings/api-tokens.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

<p local-class="explainer">
To use an API token, run <a href="https://doc.rust-lang.org/cargo/commands/cargo-login.html"><code>cargo login</code></a>
on the command line and paste the key when prompted. This will save it to a local file (<code>~/.cargo/credentials</code> by default).
on the command line and paste the key when prompted. This will save it to a
<a href="https://doc.rust-lang.org/cargo/reference/config.html#credentials">local credentials file</a>.
For CI systems you can use the
<a href="https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials"><code>CARGO_REGISTRY_TOKEN</code></a>
environment variable, but make sure that the token stays secret!
Expand Down