crates.io
crates.io is the official package registry for the Rust programming language, operated by the crates.io team under the Rust Foundation with infrastructure support from Amazon Web Services and Fastly. It exposes a Web API at /api/v1 used by Cargo and the website for search, publishing, yanking, and owner management, plus a sparse HTTP index at index.crates.io that has been Cargo's default registry protocol since Rust 1.70 (June 2023). The legacy git index is still mirrored. Every published version is checksummed with SHA-256 and companion documentation is auto-built on docs.rs. The crates.io source code is dual-licensed under Apache-2.0 and MIT and runs on Rust (axum, diesel) with a SvelteKit frontend.
crates.io publishes 2 APIs on the APIs.io network: Web API and Sparse Index. Tagged areas include Rust, Package Registry, Crates, Cargo, and Open Source.
The crates.io catalog on APIs.io includes 4 machine-runnable capabilities, 1 JSON-LD context, and 1 Spectral governance ruleset.
crates.io’s developer surface includes developer portal, documentation, getting-started guide, tooling, engineering blog, changelog, support, and 26 more developer resources.
APIs
crates.io Web API
The crates.io Web API exposes the endpoints used by Cargo and the crates.io website to search the registry, fetch crate and version metadata, publish new versions, yank and unya...
crates.io Sparse Index
The crates.io sparse index at https://index.crates.io serves the registry config document plus per-crate newline-delimited JSON metadata files over HTTP, replacing the legacy gi...
Capabilities
crates.io Sparse Index — Index
crates.io Sparse Index — Index. Self-contained Naftiko capability covering the sparse index configuration and per-crate index lookups served from index.crates.io.
Run with Naftikocrates.io Web API — Crates
crates.io Web API — Crates. Self-contained Naftiko capability covering crate search, detail lookup, and publishing.
Run with Naftikocrates.io Web API — Owners
crates.io Web API — Owners. Self-contained Naftiko capability for listing, inviting, and removing crate owners.
Run with Naftikocrates.io Web API — Versions
crates.io Web API — Versions. Self-contained Naftiko capability for inspecting, yanking, and unyanking specific crate versions.
Run with Naftiko