@@ -13,6 +13,50 @@ repository = "https://github.com/alloy-rs/examples"
1313publish = false
1414exclude = [" examples/" ]
1515
16+ [workspace .lints ]
17+ rust.missing_debug_implementations = " warn"
18+ rust.missing_docs = " warn"
19+ rust.unreachable_pub = " warn"
20+ rustdoc.all = " warn"
21+ rust.unused_must_use = " deny"
22+ rust.rust_2018_idioms = " deny"
23+
24+ [workspace .lints .clippy ]
25+ # These are some of clippy's nursery (i.e., experimental) lints that we like.
26+ # By default, nursery lints are allowed. Some of the lints below have made good
27+ # suggestions which we fixed. The others didn't have any findings, so we can
28+ # assume they don't have that many false positives. Let's enable them to
29+ # prevent future problems.
30+ branches_sharing_code = " warn"
31+ clear_with_drain = " warn"
32+ derive_partial_eq_without_eq = " warn"
33+ empty_line_after_outer_attr = " warn"
34+ equatable_if_let = " warn"
35+ imprecise_flops = " warn"
36+ iter_on_empty_collections = " warn"
37+ iter_with_drain = " warn"
38+ large_stack_frames = " warn"
39+ manual_clamp = " warn"
40+ mutex_integer = " warn"
41+ needless_pass_by_ref_mut = " warn"
42+ nonstandard_macro_braces = " warn"
43+ or_fun_call = " warn"
44+ path_buf_push_overwrite = " warn"
45+ read_zero_byte_vec = " warn"
46+ redundant_clone = " warn"
47+ suboptimal_flops = " warn"
48+ suspicious_operation_groupings = " warn"
49+ trailing_empty_array = " warn"
50+ trait_duplication_in_bounds = " warn"
51+ transmute_undefined_repr = " warn"
52+ trivial_regex = " warn"
53+ tuple_array_conversions = " warn"
54+ uninhabited_references = " warn"
55+ unused_peekable = " warn"
56+ unused_rounding = " warn"
57+ useless_let_if_seq = " warn"
58+ uninlined_format_args = " warn"
59+
1660[workspace .dependencies ]
1761alloy = { git = " https://github.com/alloy-rs/alloy" , rev = " f7333c4" , features = [
1862 # "dyn-abi",
0 commit comments