Introduction
A .crate file is the packaged form of a Rust package, as downloaded from
a registry such as crates.io by Cargo. Its name is made of the package name and
version.
Structure
The file is a gzip-compressed tar archive: Cargo’s registry code reads it through a gzip decoder and a tar reader.
Not described
Known, not yet covered
- Reference: this page is a summary; the archive’s contents and index checksums are not yet described on this site.
- Viewer: the site has no viewer made for crate files.
Links
Software
- Cargo – the Rust package manager
Reference
- Registry index – the Cargo Book
- Cargo’s registry source – reading downloaded crates