Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Cargo.toml based lint configuration #195

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

edmorley
Copy link
Member

As of the Cargo included in Rust 1.74, lints can now be configured in Cargo.toml across whole crates/workspaces:
https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html
https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-lints-section

This reduces the boilerplate, and the chance that we forget to enable lints in some targets.

Since this feature requires Rust 1.74, the MSRV has also been bumped.

GUS-W-14523760.

As of the Cargo included in Rust 1.74, lints can now be configured in
`Cargo.toml` across whole crates/workspaces:
https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html
https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-lints-section

This reduces the boilerplate, and the chance that we forget to enable
lints in some targets.

Since this feature requires Rust 1.74, the MSRV has also been bumped.

GUS-W-14523760.
@edmorley edmorley self-assigned this Nov 20, 2023
@edmorley edmorley marked this pull request as ready for review November 20, 2023 11:01
@edmorley edmorley requested a review from a team as a code owner November 20, 2023 11:01
@edmorley edmorley merged commit 1c5e136 into main Nov 20, 2023
5 checks passed
@edmorley edmorley deleted the edmorley/cargo-toml-lints branch November 20, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants