MCPcopy Index your code
hub / github.com/dtolnay/get-all-crates

github.com/dtolnay/get-all-crates @0.1.23

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.23 ↗ · + Follow
33 symbols 50 edges 2 files 0 documented · 0% updated 5d ago0.1.23 · 2026-07-01★ 52
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

get-all-crates

github crates.io build status

Download .crate files of all versions of all crates from crates.io.

Useful for things like noisy-clippy which need to analyze the source code of all crates.

I wrote this tool to saturate a 1000 Mbps connection. From scratch, it can finish downloading in under 20 minutes. It can also check the checksums of a directory of downloaded crates in 40 seconds on 64 cores. For a more fully featured tool, which some of this code is based on, but which is much slower in my experience, check out https://git.shipyard.rs/jstrong/registry-backup.

Usage

$ cargo install get-all-crates
$ git clone https://github.com/rust-lang/crates.io-index /path/to/index
$ get-all-crates --index /path/to/index --out /path/to/crates

Warning: as of 2026 this writes out more than 300 GB of crates.

The output directory structure is similar to how Cargo's registry index is structured:

/path/to/crates
 ├── 1
 │  └── m
 │     └── m-0.1.1.crate
 ├── 2
 │  └── nu
 │     └── nu-0.73.0.crate
 ├── 3
 │  └── s
 │     └── syn
 │        └── syn-1.0.107.crate
 └── se
    └── rd
       ├── serde
       │  └── serde-1.0.151.crate
       └── serde_json
          └── serde_json-1.0.91.crate

License

MIT license.

Core symbols most depended-on inside this repo

Shape

Function 13
Method 10
Class 9
Enum 1

Languages

Rust100%

Modules by API surface

src/main.rs29 symbols
src/crateversion.rs4 symbols

For agents

$ claude mcp add get-all-crates \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page