Skip to main content

Cargo crates

Publish and install Rust crates with Cuitty Registry.

Cuitty Registry supports Cargo-compatible crate publishing, installation, yanking, and sparse index reads. Crate ownership is enforced through Registry namespaces and package maintainer grants.

Configure Cargo

Add a sparse registry to .cargo/config.toml:

[registries.cuitty]
index = "sparse+https://registry.example.com/cargo/index/"

Publish or install with the named registry:

cargo publish --registry cuitty
cargo add my-crate --registry cuitty

Tokens

Use a Registry token scoped to the namespace or package:

cargo login --registry cuitty "$CUITTY_REGISTRY_TOKEN"

Yank and unyank operations require package maintainer permission and write audit events.

Index behavior

Registry stores crate metadata and emits sparse-index entries from the Registry service. Operators can rebuild indexes from Store records if an index write fails or a migration changes index shape.