2022-02-28 08:03:54 +00:00
|
|
|
[target.'cfg(feature = "cargo-clippy")']
|
|
|
|
rustflags = [
|
2022-12-16 20:59:15 +00:00
|
|
|
# Lints to enforce in CI
|
2022-02-28 08:03:54 +00:00
|
|
|
"-Dclippy::checked_conversions",
|
|
|
|
"-Dclippy::dbg_macro",
|
|
|
|
"-Dclippy::explicit_into_iter_loop",
|
|
|
|
"-Dclippy::explicit_iter_loop",
|
|
|
|
"-Dclippy::filter_map_next",
|
|
|
|
"-Dclippy::flat_map_option",
|
|
|
|
"-Dclippy::let_unit_value",
|
2023-06-05 15:12:30 +00:00
|
|
|
"-Dclippy::manual_assert",
|
2022-02-28 08:03:54 +00:00
|
|
|
"-Dclippy::manual_ok_or",
|
|
|
|
"-Dclippy::todo",
|
|
|
|
"-Dclippy::unnecessary_wraps",
|
|
|
|
"-Dclippy::useless_transmute",
|
2023-07-14 12:42:35 +00:00
|
|
|
"-Dclippy::used_underscore_binding",
|
2022-03-23 07:07:28 +00:00
|
|
|
"-Delided_lifetimes_in_paths",
|
|
|
|
"-Dunused_lifetimes",
|
|
|
|
"-Drust_2021_prelude_collisions"
|
2022-09-06 18:26:23 +00:00
|
|
|
]
|