CratesBump: A Version-Bump Dataset for the Rust Ecosystem
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 cratesio 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 MAJORMINORPATCH, and Cargo's rule, under which a 0.y bump is a breaking change. semver-extract regenerates the dataset from public cratesio 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.
Create a lesson
Metadata
- Categories
- cs.SE, cs.LG
- Comments
- 5 pages, 1 figure, 3 tables. Dataset and tool: https://github.com/muhammad-hassnain/CratesBump
Related papers
ReqSeek: Transformer-Based Automatic Requirements Identification for Building Large Requirements Datasets
Shared title terminologycs.SEMohammad Kasra Habib, Umm-e-Habiba, Daniel Graziotin et al.
Multi-Agent Coordinated Method-Level Refactoring of Rust Code
Shared title terminologycs.SEYijian Zheng, Yi Zhang, Juyuan Zhang et al.
Re-Testing LLM-Based C-to-Rust Translations Against Their Original C
Shared title terminologycs.SEMuhammad Hassnain
Operating an Agent-Driven Dataset Factory: Discovery, Construction, and Public Release
Shared title terminologycs.SEEduardo Ariño de la Rubia, Szilard Pafka
Using machine learning approaches to classify false-positives generated by static analysis tools - An empirical study using small datasets
Shared title terminologycs.SELakmal Deshapriya, Sherlock A. Licorish, Brendon J. Woodford
Benchmark Factory: Agentic Benchmark Creation via Dataset Curation and Label-Free Quality Anchors
Shared title terminologycs.SEShervin Shahidi, James Poon, Hang Xie et al.