Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. cratery

cratery

MITRust

A lightweight private cargo registry with batteries included, built for organizations, featuring docs generation and dependency analysis.

GitHubGitHub
180 stars12 forks0 contributors

What is cratery?

Cratery is a private Cargo registry built for organizations to host and manage their internal Rust crates securely. It solves the problem of needing a private, self-hosted alternative to crates.io for proprietary code, offering built-in features like documentation generation and dependency analysis. The project provides a complete ecosystem for internal crate management, including authentication, administration, and statistics tracking.

Target Audience

Organizations and teams developing proprietary Rust software who need a secure, private registry for internal crate hosting and management. It's also suitable for developers requiring advanced features like automated documentation generation and dependency vulnerability scanning.

Value Proposition

Developers choose Cratery because it's a lightweight, all-in-one private registry with essential features like docs.rs-style documentation generation and deps.rs-style dependency analysis built-in. Its self-hosted nature offers full control and security, while support for Docker and flexible storage options (filesystem or S3) simplifies deployment and scaling.

Overview

Cratery is a private Cargo registry designed for organizations that need to host and manage their internal Rust crates. It provides a secure, self-contained solution with essential features like documentation generation and dependency analysis out of the box, eliminating the need to rely on public infrastructure for proprietary code.

Key Features

  • Private Cargo Registry — Host and manage internal Rust crates with authentication and access control.
  • Automatic Documentation Generation — Generates and serves documentation for published crates, similar to docs.rs, with support for worker nodes and target-specific builds.
  • Dependency Analysis — Scans dependency graphs to detect outdated dependencies and vulnerabilities from RustSec, with email notifications for owners.
  • Administration Panel — Manage crate owners and permissions through a web interface.
  • Download Statistics — Tracks and displays usage statistics for hosted crates.
  • Flexible Storage — Supports local filesystem or S3 for storing crates, metadata, and generated documentation.
  • Index Protocols — Supports both legacy git and modern sparse protocols for registry access.

Philosophy

Cratery is built to be a comprehensive, 'batteries-included' solution that prioritizes security and ease of use for organizations, providing all the essential tools for managing a private Rust ecosystem in one package.

Use Cases

Best For

  • Organizations needing a private registry for proprietary Rust crates
  • Teams requiring automated documentation generation for internal libraries
  • Projects that need dependency vulnerability scanning and outdated dependency detection
  • Companies wanting download statistics and usage analytics for internal crates
  • Environments requiring OAuth authentication for registry access
  • Infrastructure needing scalable storage with S3 integration for crate artifacts

Not Ideal For

  • Teams without an existing OAuth identity provider for user authentication
  • Projects requiring only basic crate hosting without integrated documentation or dependency analysis
  • Environments preferring managed registry services over self-hosted solutions

Pros & Cons

Pros

Comprehensive Feature Set

Includes automatic documentation generation similar to docs.rs, dependency vulnerability scanning from RustSec, and download statistics, all out of the box as highlighted in the README.

Flexible Storage and Scalability

Supports both local filesystem and S3 storage, with options for worker nodes to distribute documentation generation tasks, enabling scalable deployments.

Modern Registry Support

Compatible with both legacy git and new sparse Cargo registry protocols, ensuring future-proof access and alignment with Cargo's evolution.

Secure Authentication

Built-in OAuth integration for secure access control, configurable with organizational identity providers, though default Google setup is for demo only.

Cons

Complex Configuration

Requires managing numerous environment variables for authentication, storage, and features, as shown in the lengthy configuration section, which can be overwhelming for initial setup.

External Service Dependencies

Dependency analysis relies on external sources like crates.io and RustSec, adding points of failure and potential setup hurdles if those services are unavailable.

Setup Overhead for Advanced Features

Features like email notifications and worker nodes require additional configuration (e.g., SMTP, master-worker setup), increasing deployment complexity beyond basic registry needs.

Frequently Asked Questions

Quick Stats

Stars180
Forks12
Contributors0
Open Issues19
Last commit4 months ago
CreatedSince 2023

Tags

#cargo-registry#authentication#private-registry#crates#s3-storage#dependency-analysis#ci-cd#rust#self-hosted#documentation-generation

Built With

S
SQLite
S
S3
R
Rust
D
Docker

Included in

Rust56.6k
Auto-fetched 6 hours ago

Related Projects

charteredchartered

✈️ a private, authenticated, permissioned cargo registry

Stars128
Forks8
Last commit3 years ago
CratesCrates

The official public registry for Rust/Cargo

Stars0
Forks0
Last commit
RepoFlowRepoFlow

Simple and fast platform for hosting private Composer registries. Also supports Docker, npm, PyPI, Maven, and RubyGems. Offers free options for both cloud and self-hosted setups

Stars0
Forks0
Last commit
CloudsmithCloudsmith

A fully managed package management SaaS, with first-class support for public and private Cargo/Rust registries (plus many others). Has a generous free-tier and is also completely free for open-source

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub