@@ -19,8 +19,12 @@ members = [
1919 " examples/imperative" ,
2020]
2121
22+ # This table is shared by projects under github.com/taiki-e.
23+ # Expect for unexpected_cfgs.check-cfg, it is not intended for manual editing.
2224[workspace .lints .rust ]
23- missing_debug_implementations = " warn"
25+ improper_ctypes = " warn"
26+ improper_ctypes_definitions = " warn"
27+ non_ascii_idents = " warn"
2428rust_2018_idioms = " warn"
2529single_use_lifetimes = " warn"
2630unexpected_cfgs = { level = " warn" , check-cfg = [
@@ -29,4 +33,18 @@ unexpected_cfgs = { level = "warn", check-cfg = [
2933unreachable_pub = " warn"
3034# unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV
3135[workspace .lints .clippy ]
32- incompatible_msrv = { level = " allow" , priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12273, https://github.com/rust-lang/rust-clippy/issues/12257
36+ all = " warn" # Downgrade deny-by-default lints
37+ as_ptr_cast_mut = " warn"
38+ default_union_representation = " warn"
39+ inline_asm_x86_att_syntax = " warn"
40+ trailing_empty_array = " warn"
41+ transmute_undefined_repr = " warn"
42+ # undocumented_unsafe_blocks = "warn"
43+ # Suppress buggy or noisy clippy lints
44+ bool_assert_comparison = { level = " allow" , priority = 1 }
45+ declare_interior_mutable_const = { level = " allow" , priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
46+ manual_assert = { level = " allow" , priority = 1 }
47+ manual_range_contains = { level = " allow" , priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/6455#issuecomment-1225966395
48+ single_match = { level = " allow" , priority = 1 }
49+ too_many_arguments = { level = " allow" , priority = 1 }
50+ type_complexity = { level = " allow" , priority = 1 }
0 commit comments