crate-server

tokens

Getting a token

This registry has no accounts page. Tokens are minted on the machine running the server:

crate-server token add <username> --data <data-dir>

Then, on the machine that publishes:

cargo login --registry local

Cargo stores it in ~/.cargo/credentials.toml and sends it as the Authorization header on every publish, yank, and owner change.