CratesBump: A Version-Bump Dataset for the Rust Ecosystem
Muhammad Hassnain
Key points
From the paper's conclusion- We release CratesBump, the first public dataset for predicting version bumps in the Rust ecosystem, together with semver-extract, the tool that builds it.
Abstract
We release CratesBump, the first public dataset for predicting version bumps in the Rust ecosystem, together with semver-extract, the tool that builds it. CratesBump is built from every crate on crates.io with at least two releases before 14 September 2026 (about 220,000 crates), giving over two million consecutive release pairs. Each pair has 41 features (code changes from AST diffs, dependency changes, complexity, release cadence, GitHub commit and issue activity), its source repository where listed, and two labels: the literal reading of MAJOR.MINOR.PATCH, and Cargo's rule, under which a 0.y bump is a breaking change. semver-extract regenerates the dataset from public crates.io data and the GitHub API. To illustrate its use we (i) benchmark bump predictors on held-out repositories, finding the task learnable but far from solved, with lower scores on later releases; (ii) measure which feature groups carry the signal; (iii) check, against declared dependency ranges, how often Cargo's rule shields dependents from pre-1.0 breaking releases; and (iv) audit a sample of releases with cargo-semver-checks, finding minor and patch releases that break the public API despite their version number. Dataset and tool are released under open licenses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Which Code Changes Need Re-embedding? CIPBench and the Limits of Multi-Signal Index MaintenancearXiv · 2026
- avaCGs: Version-Aware Call Graphs for Efficient Version-Range QueriesProceedings of the ACM on Software Engineering · 2026
- SemVerBench: Benchmarking LLM Comprehension of Version-Constraint Resolution SemanticsarXiv · 2026
- Higher-Scoring Coding Models Did Not Get More Work DonearXiv · 2026
- Bridge: Automatically Mining Ecosystem-Scale API Update Mappings and Client Update InstancesarXiv · 2026
- CRUSTPairs: A Cross-Language Dataset of Paired C and Rust SolutionsarXiv · 2026