Skip to content

Tracking Issue for min-publish-age RFC 3923 #17009

@ehuss

Description

@ehuss

Summary

RFC: #3923
Original issue: #15973
Implementation: #17012
Documentation: TODO

This RFC adds a configuration to set the minimum publish age used for dependency resolution.

Unresolved Issues

Future Extensions

  • Support fallback for resolver.incompatible-publish-age
  • Add an exclude list for min-publish-age
  • When all compatible older-than-min-age versions are yanked and a newer non-yanked version exists, Cargo could alert the user that they may want to override with --precise.
  • Potentially support other source of publish time besides the pubtime field from a cargo registry.
  • A resolver.now field for setting the reference time that min-publish-age is compared against. This could be useful for offline workflows where wall-clock time keeps advancing but the registry index may be stale.

(see RFC)

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Metadata

Metadata

Assignees

Labels

A-dependency-resolutionArea: dependency resolution and the resolverC-tracking-issueCategory: A tracking issue for something unstable.

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions