Closed
Description
Below are a list of current concerns that @alexcrichton raised as wanting resolution before alternative registries becomes stable:
- --registry command for publish
- currently
login
,owner
,publish
,search
, andyank
have--registry
as an argument, taking a registry identifier
- currently
- format of the registry name, including validation of the format
- should we accept
foo.bar.baz
? Justfoo-bar
? What aboutfoo-💖
?
- should we accept
- what should be the format of the credentials file for alternative registries
- Currently it's:
token = ".." # crates.io token [custom-registry-name] token = ".." # custom registry token
- have we got the correct syntax for the .cargo/config file
- Currently it's:
[registries.custom-registry-name] index = "..."
- specification of index format (What is the significance of "specification" of index format/API? #4574)
- verification that the current index follows the specification (Some crates in the crates.io index have invalid json crates.io#1168)
- specification in Cargo.toml
- Currently it's:
[dependencies] foo = { version = "0.1", registry = "custom-registry-name" }
-
cargo login
doesn't work without a token for a custom registry, it just returns an error instead of printing a URL to visit and reading the token from a prompt - credentials per project [Proposal] Credentials per project (local .cargo/credentials) #4645
- registry subcommand [Proposal] Subcommand to operate on custom registry info #4690
Please add to the list to include any other concerns.