4 ms·
Many of these currently exist as lints that can live in a Cargo.toml: [workspace.lints.rust] unsafe_code = "forbid" https://doc.rust-lang.org/rustc/li
by burnt-resistor 1y ago
Many of these currently exist as lints that can live in a Cargo.toml:
[workspace.lints.rust]
unsafe_code = "forbid"
https://doc.rust-lang.org/rustc/lints/index.html https://doc.rust-lang.org/rustc/lints/index.html
Perhaps what would be useful is crates.io determining through analysis which in the set of all lint(s) a crate is compatible with and exposing that as automatic metadata?