a little dig at creating a private cargo repository with authenticated downloads, the plan is to have git connect to a git server we setup that we can serve a fake index from generated just for the authenticated user that we can embed authentication credentials into.
designed to be easily morphable into a first-class authenticated registry-provider once one of the cargo RFCs go through.
- VISIBLE
- PUBLISH_VERSION
- YANK_VERSION
- MANAGE_USERS
crates are required to be under an organisation, the organisation can be specified when declaring the custom registry
in .cargo/config.toml
like so:
[registries]
my-org = { index = "ssh://chart.rs:22/my-org" }
my-other-org = { index = "ssh://chart.rs:22/my-other-org" }