Skip to content

Lint on version requirements without a fully specified minimum bound #15577

@epage

Description

@epage

What it does

Warns if a version req is 1.3 or 1 rather than 1.3.5

Advantage

This can help with more correct minimum bounds because patch packages can depend on changes in patch releases.

Drawbacks

A false sense of confidence that a minimum bound is correct

Example

serde = "1"

Could be written as:

serde = "1.0.219"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-new-lintArea: new lintS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions