How to create private crates.io registry for an organization?

Hi Folks,

I understood that as of now artifactory is not supporting rust registry.
Due to firewall, we can't connect to opensource crates.io from our machine.
How can we create private crates.io and host inside an organization? Can anyone suggest ?

The Cargo book has some information on this: Registries - The Cargo Book or Source Replacement - The Cargo Book

There isn't an official alternative registry implementation that you could use. I know there are some 3rd party projects, but I haven't tried them.

With source replacement you could use your own mirror of the official registry.

There's also cargo vendor that copies crates from crates-io to a local directory of a project.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.