@@ -19,3 +19,137 @@ rand_xorshift = "0.4.*"
1919
2020[features ]
2121derive_serdes = [" serde" , " smallvec/serde" ]
22+
23+ [lints .clippy ]
24+ allow-attributes = " warn"
25+ assertions-on-result-states = " warn"
26+ bool-to-int-with-if = " warn"
27+ branches-sharing-code = " warn"
28+ cast-possible-truncation = " warn"
29+ cast-possible-wrap = " warn"
30+ cast-sign-loss = " warn"
31+ checked-conversions = " warn"
32+ clear-with-drain = " warn"
33+ cloned-instead-of-copied = " warn"
34+ collection-is-never-read = " warn"
35+ debug-assert-with-mut-call = " warn"
36+ derive-partial-eq-without-eq = " warn"
37+ doc-broken-link = " warn"
38+ doc-include-without-cfg = " warn"
39+ doc-link-code = " warn"
40+ doc-link-with-quotes = " warn"
41+ doc-markdown = " warn"
42+ elidable-lifetime-names = " warn"
43+ empty-drop = " warn"
44+ empty-enum-variants-with-brackets = " warn"
45+ empty-structs-with-brackets = " warn"
46+ equatable-if-let = " warn"
47+ error-impl-error = " warn"
48+ explicit-deref-methods = " warn"
49+ filter-map-next = " warn"
50+ flat-map-option = " warn"
51+ format-collect = " warn"
52+ format-push-string = " warn"
53+ ignored-unit-patterns = " warn"
54+ impl-trait-in-params = " warn"
55+ implicit-clone = " warn"
56+ inefficient-to-string = " warn"
57+ infinite-loop = " warn"
58+ invalid-upcast-comparisons = " warn"
59+ iter-filter-is-ok = " warn"
60+ iter-filter-is-some = " warn"
61+ iter-with-drain = " warn"
62+ large-stack-frames = " warn"
63+ large-types-passed-by-value = " warn"
64+ literal-string-with-formatting-args = " warn"
65+ lossy-float-literal = " warn"
66+ macro-use-imports = " warn"
67+ manual-assert = " warn"
68+ manual-is-power-of-two = " warn"
69+ manual-is-variant-and = " warn"
70+ manual-let-else = " warn"
71+ map-unwrap-or = " warn"
72+ map-with-unused-argument-over-ranges = " warn"
73+ match-same-arms = " warn"
74+ match-wildcard-for-single-variants = " warn"
75+ maybe-infinite-iter = " warn"
76+ mem-forget = " warn"
77+ mismatching-type-param-order = " warn"
78+ missing-asserts-for-indexing = " warn"
79+ missing-const-for-fn = " warn"
80+ missing-panics-doc = " warn"
81+ module-name-repetitions = " warn"
82+ multiple-crate-versions = " warn"
83+ mut-mut = " warn"
84+ mutex-atomic = " warn"
85+ naive-bytecount = " warn"
86+ needless-bitwise-bool = " warn"
87+ needless-collect = " warn"
88+ needless-continue = " warn"
89+ needless-for-each = " warn"
90+ needless-pass-by-ref-mut = " warn"
91+ needless-pass-by-value = " warn"
92+ needless-raw-string-hashes = " warn"
93+ needless-raw-strings = " warn"
94+ no-effect-underscore-binding = " warn"
95+ non-std-lazy-statics = " warn"
96+ non-zero-suggestions = " warn"
97+ nonstandard-macro-braces = " warn"
98+ option-as-ref-cloned = " warn"
99+ precedence-bits = " warn"
100+ pub-underscore-fields = " warn"
101+ range-minus-one = " warn"
102+ range-plus-one = " warn"
103+ read-zero-byte-vec = " warn"
104+ redundant-clone = " warn"
105+ redundant-closure-for-method-calls = " warn"
106+ redundant-pub-crate = " warn"
107+ redundant-test-prefix = " warn"
108+ ref-as-ptr = " warn"
109+ ref-binding-to-reference = " warn"
110+ ref-option = " warn"
111+ ref-option-ref = " warn"
112+ ref-patterns = " warn"
113+ renamed-function-params = " warn"
114+ rest-pat-in-fully-bound-structs = " warn"
115+ same-functions-in-if-condition = " warn"
116+ same-name-method = " warn"
117+ set-contains-or-insert = " warn"
118+ significant-drop-in-scrutinee = " warn"
119+ significant-drop-tightening = " warn"
120+ single-char-pattern = " warn"
121+ single-option-map = " warn"
122+ str-split-at-newline = " warn"
123+ string-add-assign = " warn"
124+ suboptimal-flops = " warn"
125+ suspicious-operation-groupings = " warn"
126+ suspicious-xor-used-as-pow = " warn"
127+ trait-duplication-in-bounds = " warn"
128+ transmute-ptr-to-ptr = " warn"
129+ trivial-regex = " warn"
130+ trivially-copy-pass-by-ref = " warn"
131+ try-err = " warn"
132+ type-repetition-in-bounds = " warn"
133+ uninhabited-references = " warn"
134+ uninlined-format-args = " warn"
135+ unnecessary-debug-formatting = " warn"
136+ unnecessary-join = " warn"
137+ unnecessary-literal-bound = " warn"
138+ unnecessary-semicolon = " warn"
139+ unnecessary-struct-initialization = " warn"
140+ unnecessary-wraps = " warn"
141+ unneeded-field-pattern = " warn"
142+ unreadable-literal = " warn"
143+ unsafe-derive-deserialize = " warn"
144+ unused-async = " warn"
145+ unused-peekable = " warn"
146+ unused-result-ok = " warn"
147+ unused-rounding = " warn"
148+ unused-self = " warn"
149+ used-underscore-binding = " warn"
150+ used-underscore-items = " warn"
151+ useless-let-if-seq = " warn"
152+ verbose-bit-mask = " warn"
153+ verbose-file-reads = " warn"
154+ while-float = " warn"
155+ zero-sized-map-values = " warn"
0 commit comments