Skip to content

clippy::cargo_common_metadata ignores license-file metadata #4517

@imp

Description

@imp

Lint cargo::cargo_common_metadata checks for license property among the other things. However, it ignores the presense of the license-file property, which canbe used instead of the license (when the license is proprietary).

I would like to suggest checking for license-file as a fallback for missing license before emitting the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions