Skip to content

Support the rust-version field in Cargo.toml to specify the MSRV #7765

Closed

Description

@jonasbb

The first crates are starting to make use of the rust-version field in Cargo.toml, which gets stabilized with the 1.56 version of rust, see rust-lang/rust#65262 and rust-lang/cargo#9732.

So far it does not seem like Clippy is able to understand this field. It only supports specifying it in it's own config file and unstably as an inner attribute (Readme).

@rustbot label +C-enhancement

Activity

  1. added
    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages
    on Oct 4, 2021
  2. added
    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.
    on Oct 5, 2021
  3. flip1995 commented on Oct 8, 2021

    @flip1995
    Member

    @rustbot claim

  4. added a commit that references this issue on Oct 12, 2021
  5. changed the title [-]Support the `rust-version` field in `Cargo.toml`[/-] [+]Support the `rust-version` field in `Cargo.toml` to specify the MSRV[/+] on Oct 19, 2021
  6. removed their assignment
    on May 2, 2022
  7. added a commit that references this issue on Jun 28, 2022
    b776fb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions