@@ -8,11 +8,53 @@ members = [
88 " ssh-protocol" ,
99]
1010
11- [profile .dev ]
12- opt-level = 2
13-
1411[patch .crates-io ]
1512ssh-cipher = { path = " ./ssh-cipher" }
1613ssh-derive = { path = " ./ssh-derive" }
1714ssh-encoding = { path = " ./ssh-encoding" }
1815ssh-key = { path = " ./ssh-key" }
16+
17+ [profile .dev ]
18+ opt-level = 2
19+
20+ [workspace .lints .clippy ]
21+ as_conversions = " warn"
22+ borrow_as_ptr = " warn"
23+ cast_lossless = " warn"
24+ cast_possible_truncation = " warn"
25+ cast_possible_wrap = " warn"
26+ cast_precision_loss = " warn"
27+ cast_sign_loss = " warn"
28+ checked_conversions = " warn"
29+ from_iter_instead_of_collect = " warn"
30+ implicit_saturating_sub = " warn"
31+ integer_division_remainder_used = " warn"
32+ manual_assert = " warn"
33+ map_unwrap_or = " warn"
34+ missing_errors_doc = " warn"
35+ missing_panics_doc = " warn"
36+ mod_module_files = " warn"
37+ must_use_candidate = " warn"
38+ needless_range_loop = " allow"
39+ ptr_as_ptr = " warn"
40+ redundant_closure_for_method_calls = " warn"
41+ ref_as_ptr = " warn"
42+ return_self_not_must_use = " warn"
43+ semicolon_if_nothing_returned = " warn"
44+ trivially_copy_pass_by_ref = " warn"
45+ std_instead_of_alloc = " warn"
46+ std_instead_of_core = " warn"
47+ undocumented_unsafe_blocks = " warn"
48+ unnecessary_safety_comment = " warn"
49+ unwrap_used = " warn"
50+
51+ [workspace .lints .rust ]
52+ missing_copy_implementations = " warn"
53+ missing_debug_implementations = " warn"
54+ missing_docs = " warn"
55+ trivial_casts = " warn"
56+ trivial_numeric_casts = " warn"
57+ unreachable_pub = " warn"
58+ unsafe_code = " forbid"
59+ unused_lifetimes = " warn"
60+ unused_qualifications = " warn"
0 commit comments