You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(generate-lockfile): Add unstable --publish-time flag
Implementation for #5221
Use cases:
- Improved reproduction steps using cargo scripts without including a
lockfile
- Debugging issues in the past
- Manual stop gap for #15973
Unresolved questions:
- How do we compensate for the caveats, with one option being to leave
this perma-unstable?
- How should we deal with Summary `pubtime` parse errors?
- How strict should we be on the Summary `pubtime` format?
- Should we offer a convenient way of getting a compatible timestamp?
Future possibilities:
- Ability to lock to a timestamp with `cargo update` updating the
timestamp (could be useful for cargo scripts)
This seemed like the shortest path to testing the proposed `pubtime`
index entries so we can unblock other work on it like #15973.
While this has some big caveats, the design is straightforward.
In contrast, #15973 has a lot more design questions (is this a
resolver-wide setting or a per-registry setting, what formats are
accepted, etc) that could slow down development and testing `pubtime`.
0 commit comments