should make clear the credentials
store path
#11509
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
C-enhancement
Category: enhancement
Command-login
From here #7295 since 1.39, specifically this comment. However, the transition period was not what I expected or not finished. Feel like Cargo should by default write to
credentials.toml
.I'd suggest transferring this to
rust-lang/cargo
. Cargo then can do such enhancements:credentials.toml
ifcredentials
doesn't exist.rust-lang/crates.io
could cross-link to cargo doc to avoid doc duplicate.Originally posted by @weihanglo in rust-lang/crates.io#5730 (comment)
I found the token was stored at
~/.cargo/credentials
(create at yesterday by cargo login ) instead of~/.cargo/credentials.toml
, I thought it was a mistake of crate.io docs, but turn out that it's the mismatch logic of cargo.I have same opinion with @weihanglo 👆
The text was updated successfully, but these errors were encountered: