-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Potential use cases:
- Minimum age for dependencies #15973
- Cargo time machine (generate lock files based on old registry state) #5221
Problem
The registry-index JSON Schema contains the version in the vers key, but not the release date.
It would be very helpful not having to request the API only for getting this information bit 😄
Coincidentally that date is the default sorting key for the web UI (notice the Sort by drop down).
Example JSON Lines: https://index.crates.io/2/cc
Please note that yanked is included in every line, even if it is false (default is not visualized in the web UI) for most versions in contrast to the release date.
Proposed Solution
Can the schema be extended by the release date which is visualized in HTML
https://crates.io/crates/cc/versions
For example version 1.2.21 has been released on May 2nd, 2025:
"date": "20250502",Please note that the release date of the first version is always shown in the web UI:
100 of 168 cc versions since December 16th, 2014
Notes
No response