Add [lints]
and [workspace.lints]
tables to the Cargo manifest schema
#3399
Labels
help wanted
Request-for-new-schema
Request to add a new JSON schema. (auto-generated by issue forms)
Description of the JSON schema.
Rust 1.74.0 introduces new properties in the
Cargo.toml
for controlling lints for different linters (right now, it's Rust, Clippy and Rustdoc). Example:These are a short-hand for:
There's also
[workspace.lints]
which I think works like[workspace.package]
. I haven't read the RFC though.A possible problem is the fact that there is a huge amount of lints to cover. I'm not sure if you guys auto-generate this stuff in cases like this. Sorry, this is my first issue and I don't really know anything about how this works!
Supporting information.
[lints]
[workspace.lints]
Are you making a PR for this?
No, someone else must create the PR.
The text was updated successfully, but these errors were encountered: