File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2525
2626<p local-class =" explainer" >
2727 To use an API token, run <a href =" https://doc.rust-lang.org/cargo/commands/cargo-login.html" ><code >cargo login</code ></a >
28- on the command line and paste the key when prompted. This will save it to a local file (<code >~/.cargo/credentials</code > by default).
28+ on the command line and paste the key when prompted. This will save it to a
29+ <a href =" https://doc.rust-lang.org/cargo/reference/config.html#credentials" >local credentials file</a >.
2930 For CI systems you can use the
3031 <a href =" https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials" ><code >CARGO_REGISTRY_TOKEN</code ></a >
3132 environment variable, but make sure that the token stays secret!
You can’t perform that action at this time.
0 commit comments