Set rust-version in Cargo metadata

It limits clippy to only warn about lints that are compatible with the
current MSRV.
This commit is contained in:
Constantin Nickel 2023-03-14 21:55:29 +01:00
parent 8f99a78cf1
commit 22cc6ffb5a

View File

@ -10,6 +10,7 @@ version = "0.22.1"
exclude = ["assets/syntaxes/*", "assets/themes/*"] exclude = ["assets/syntaxes/*", "assets/themes/*"]
build = "build.rs" build = "build.rs"
edition = '2018' edition = '2018'
rust-version = "1.62"
[features] [features]
default = ["application"] default = ["application"]