2021-12-21 22:21:42 +00:00
|
|
|
[alias]
|
|
|
|
xtask = "run --package xtask --"
|
2022-02-28 08:03:54 +00:00
|
|
|
|
|
|
|
[target.'cfg(feature = "cargo-clippy")']
|
|
|
|
rustflags = [
|
2022-12-16 20:59:15 +00:00
|
|
|
# TODO: remove these allows once msrv increased from 1.48
|
|
|
|
"-Aclippy::iter_kv_map",
|
|
|
|
"-Aclippy::needless_borrow",
|
|
|
|
"-Aclippy::uninlined_format_args",
|
|
|
|
# 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",
|
|
|
|
"-Dclippy::manual_assert",
|
|
|
|
"-Dclippy::manual_ok_or",
|
|
|
|
"-Dclippy::todo",
|
|
|
|
"-Dclippy::unnecessary_wraps",
|
|
|
|
"-Dclippy::useless_transmute",
|
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
|
|
|
]
|