--- pretty_name: CratesDataset license: "other" language: - en tags: - rust - crates.io - package-registry - dependency-graph configs: - config_name: crate_versions data_files: - split: train path: data/parquet/crate_versions.parquet - config_name: crate_lifecycles data_files: - split: train path: data/parquet/crate_lifecycles.parquet - config_name: dependency_edges data_files: - split: train path: data/parquet/dependency_edges.parquet - config_name: feature_edges data_files: - split: train path: data/parquet/feature_edges.parquet - config_name: release_transitions data_files: - split: train path: data/parquet/release_transitions.parquet - config_name: yanked_versions data_files: - split: train path: data/parquet/yanked_versions.parquet - config_name: yank_replacements data_files: - split: train path: data/parquet/yank_replacements.parquet - config_name: manifest_patterns data_files: - split: train path: data/parquet/manifest_patterns.parquet --- # CratesDataset This revision publishes the immutable crates.io metadata snapshot `2026-07-25` generated by CratesDataset `0.1.0`. It contains eight extractive or deterministic analytical tables. ## Load a table ```python from datasets import load_dataset versions = load_dataset( "Aptlantis/crates-dataset", "crate_versions", split="train" ) ``` Parquet is the configured Hub representation used by the dataset viewer. Matching JSONL-Zstandard files are available under `data/jsonl/` as direct downloads; they are intentionally excluded from `configs` to prevent duplicate rows. ## Dataset catalog | Configuration | Grain | Rows | | --- | --- | ---: | | `crate_versions` | one crate version | 2756031 | | `crate_lifecycles` | one crate | 305334 | | `dependency_edges` | one dependency declaration | 31473381 | | `feature_edges` | one feature activation/member relationship | 11212430 | | `release_transitions` | one adjacent release pair | 2450697 | | `yanked_versions` | one yanked version | 109728 | | `yank_replacements` | one yanked version and deterministic replacement candidate | 109728 | | `manifest_patterns` | one rule match | 2371150 | ## Provenance - Snapshot: `2026-07-25` - Source rows: 2756031 - Rejected rows: 0 - Source SHA-256: `f23f16fbe51d3c71f126c69c1600196586de4931bdb5ee9a58f47c1a589808ed` - Generator: `0.1.0` - DuckDB: `v1.5.5 (Variegata) d8cdaa33fd` - Derivation: `extractive+deterministic` The exact file hashes, validation evidence, source identity, schemas, and distribution basis are included in `metadata/` and `schemas/`. ## Limitations - The source snapshot contains yank state but no yank-event timestamp. - Yank replacement records are deterministic candidates, not authoritative maintainer intent. - Manifest patterns are reproducible signals and do not establish maliciousness. `yank_replacements` contains deterministic candidate replacements. They are not maintainer-confirmed replacements or authoritative explanations for a yank. Manifest-pattern matches are reproducible signals, not evidence of maliciousness, vulnerability, or abandonment. ## Attribution and distribution Derived from crates.io registry index metadata. crates.io, the Rust project, the Rust Foundation, and crate authors do not endorse this dataset. See `metadata/DISTRIBUTION.md` for the recorded distribution basis and scope. The dataset-content license is distinct from the MIT license of the CratesDataset generator source code.