What's the best way to run a private cargo registry?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • It is actually fairly simple to run your own fork of the official registry. Check https://github.com/rust-lang/crates.io/blob/master/docs/CONTRIBUTING.md. We also did some work for an experimental “subcrates” feature that includes some Terraform automation for AWS over here https://github.com/caeg-industries/crates.io-terraform which might be handy.

  • crates.io

    The Rust package registry

  • There was docker stuff too. https://github.com/rust-lang/crates.io/blob/master/docker-compose.yml

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ktra

    Your Little Cargo Registry

  • there's also https://github.com/moriturus/ktra

  • Cargo

    The Rust package manager

  • The downside is that due to Cargo aggressively pulling in all dependencies – including “optional” and “dev” ones – during build, you occasionally have to patch Cargo.toml files to avoid having to pollute your registry with crates like winapi.

  • registry_api

    A crates.io custom registry API receiver impl & Git backend controller.

  • I wrote a back-API for custom crates: https://github.com/Protryon/registry_api

  • estuary

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts