Skip to content

Lint that a version requirement is lower than what is currently in Cargo.lock #15583

@epage

Description

@epage

What it does

Lint when a dependency version requirement is lower than the resolved dependencies version.

Advantage

  • Low effort way of ensuring version requirements are not too low

Drawbacks

  • Someone can verify their version requirements a different way
  • Even if someone is using this for helping with version requiirements, there are times where they want to raise the version requirements (e.g. testing latest)

Example

[dependencies]
serde = "1.0.0"

Could be written as:

[dependencies]
serde = "1.0.216"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-new-lintArea: new lintS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions