File size: 3,492 Bytes
b5a4e2b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215ba69
b5a4e2b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215ba69
 
 
 
 
 
 
 
b5a4e2b
 
 
215ba69
 
b5a4e2b
215ba69
b5a4e2b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
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.