|
|
|
[build]
|
|
|
|
rustflags = [
|
|
|
|
"-Wclippy::allow-attributes",
|
|
|
|
"-Wclippy::allow-attributes-without-reason",
|
|
|
|
"-Wclippy::as-underscore",
|
|
|
|
"-Wclippy::assertions-on-result-states",
|
|
|
|
"-Wclippy::bool-to-int-with-if",
|
|
|
|
"-Wclippy::borrow-as-ptr",
|
|
|
|
"-Wclippy::case-sensitive-file-extension-comparisons",
|
|
|
|
"-Wclippy::cast-lossless",
|
|
|
|
"-Wclippy::cast-possible-truncation",
|
|
|
|
"-Wclippy::cast-possible-wrap",
|
|
|
|
"-Wclippy::cast-precision-loss",
|
|
|
|
"-Wclippy::cast-ptr-alignment",
|
|
|
|
"-Wclippy::cast-sign-loss",
|
|
|
|
"-Wclippy::checked-conversions",
|
|
|
|
"-Wclippy::clone-on-ref-ptr",
|
|
|
|
"-Wclippy::cloned-instead-of-copied",
|
|
|
|
"-Wclippy::copy-iterator",
|
|
|
|
"-Wclippy::create-dir",
|
|
|
|
"-Wclippy::dbg-macro",
|
|
|
|
"-Wclippy::decimal-literal-representation",
|
|
|
|
"-Wclippy::default-trait-access",
|
|
|
|
"-Wclippy::default-union-representation",
|
|
|
|
"-Wclippy::deref-by-slicing",
|
|
|
|
"-Wclippy::disallowed-script-idents",
|
|
|
|
"-Wclippy::doc-link-with-quotes",
|
|
|
|
"-Wclippy::empty-drop",
|
|
|
|
"-Wclippy::empty-enum",
|
|
|
|
"-Wclippy::empty-structs-with-brackets",
|
|
|
|
"-Wclippy::enum-glob-use",
|
|
|
|
"-Wclippy::exit",
|
|
|
|
"-Wclippy::expect-used",
|
|
|
|
"-Wclippy::expl-impl-clone-on-copy",
|
|
|
|
"-Wclippy::explicit-deref-methods",
|
|
|
|
"-Wclippy::explicit-into-iter-loop",
|
|
|
|
"-Wclippy::explicit-iter-loop",
|
|
|
|
"-Wclippy::filetype-is-file",
|
|
|
|
"-Wclippy::filter-map-next",
|
|
|
|
"-Wclippy::flat-map-option",
|
|
|
|
"-Wclippy::fn-params-excessive-bools",
|
|
|
|
"-Wclippy::fn-to-numeric-cast-any",
|
|
|
|
"-Wclippy::format-push-string",
|
|
|
|
"-Wclippy::from-iter-instead-of-collect",
|
|
|
|
"-Wclippy::get-unwrap",
|
|
|
|
"-Wclippy::if-not-else",
|
|
|
|
"-Wclippy::if-then-some-else-none",
|
|
|
|
"-Wclippy::implicit-clone",
|
|
|
|
"-Wclippy::implicit-hasher",
|
|
|
|
"-Wclippy::inconsistent-struct-constructor",
|
|
|
|
"-Wclippy::index-refutable-slice",
|
|
|
|
"-Wclippy::inefficient-to-string",
|
|
|
|
"-Wclippy::inline-always",
|
|
|
|
"-Wclippy::inline-asm-x86-att-syntax",
|
|
|
|
"-Wclippy::inline-asm-x86-intel-syntax",
|
|
|
|
"-Wclippy::invalid-upcast-comparisons",
|
|
|
|
"-Wclippy::items-after-statements",
|
|
|
|
"-Wclippy::iter-not-returning-iterator",
|
|
|
|
"-Wclippy::large-digit-groups",
|
|
|
|
"-Wclippy::large-futures",
|
|
|
|
"-Wclippy::large-include-file",
|
|
|
|
"-Wclippy::large-stack-arrays",
|
|
|
|
"-Wclippy::large-types-passed-by-value",
|
|
|
|
"-Wclippy::let-underscore-must-use",
|
|
|
|
"-Wclippy::let-underscore-untyped",
|
|
|
|
"-Wclippy::linkedlist",
|
|
|
|
"-Wclippy::lossy-float-literal",
|
|
|
|
"-Wclippy::macro-use-imports",
|
|
|
|
"-Wclippy::manual-assert",
|
|
|
|
"-Wclippy::manual-instant-elapsed",
|
|
|
|
"-Wclippy::manual-let-else",
|
|
|
|
"-Wclippy::manual-ok-or",
|
|
|
|
"-Wclippy::manual-string-new",
|
|
|
|
"-Wclippy::many-single-char-names",
|
|
|
|
"-Wclippy::map-unwrap-or",
|
|
|
|
"-Wclippy::match-bool",
|
|
|
|
"-Wclippy::match-on-vec-items",
|
|
|
|
"-Wclippy::match-same-arms",
|
|
|
|
"-Wclippy::match-wild-err-arm",
|
|
|
|
"-Wclippy::match-wildcard-for-single-variants",
|
|
|
|
"-Wclippy::maybe-infinite-iter",
|
|
|
|
"-Wclippy::mem-forget",
|
|
|
|
"-Wclippy::mismatching-type-param-order",
|
|
|
|
"-Wclippy::missing-assert-message",
|
|
|
|
"-Wclippy::missing-enforced-import-renames",
|
|
|
|
"-Wclippy::multiple-inherent-impl",
|
|
|
|
"-Wclippy::mut-mut",
|
|
|
|
"-Wclippy::mutex-atomic",
|
|
|
|
"-Wclippy::naive-bytecount",
|
|
|
|
"-Wclippy::needless-bitwise-bool",
|
|
|
|
"-Wclippy::needless-continue",
|
|
|
|
"-Wclippy::needless-for-each",
|
|
|
|
"-Wclippy::needless-pass-by-value",
|
|
|
|
"-Wclippy::negative-feature-names",
|
|
|
|
"-Wclippy::no-effect-underscore-binding",
|
|
|
|
"-Wclippy::no-mangle-with-rust-abi",
|
|
|
|
"-Wclippy::non-ascii-literal",
|
|
|
|
"-Wclippy::panic",
|
|
|
|
"-Wclippy::panic-in-result-fn",
|
|
|
|
"-Wclippy::partial-pub-fields",
|
|
|
|
"-Wclippy::print-stderr",
|
|
|
|
"-Wclippy::print-stdout",
|
|
|
|
"-Wclippy::ptr-as-ptr",
|
|
|
|
"-Wclippy::range-minus-one",
|
|
|
|
"-Wclippy::range-plus-one",
|
|
|
|
"-Wclippy::rc-buffer",
|
|
|
|
"-Wclippy::rc-mutex",
|
|
|
|
"-Wclippy::redundant-closure-for-method-calls",
|
|
|
|
"-Wclippy::redundant-else",
|
|
|
|
"-Wclippy::redundant-feature-names",
|
|
|
|
"-Wclippy::ref-binding-to-reference",
|
|
|
|
"-Wclippy::ref-option-ref",
|
|
|
|
"-Wclippy::rest-pat-in-fully-bound-structs",
|
|
|
|
"-Wclippy::return-self-not-must-use",
|
|
|
|
"-Wclippy::same-functions-in-if-condition",
|
|
|
|
"-Wclippy::same-name-method",
|
|
|
|
"-Wclippy::semicolon-inside-block",
|
|
|
|
"-Wclippy::shadow-same",
|
|
|
|
"-Wclippy::single-match-else",
|
|
|
|
"-Wclippy::stable-sort-primitive",
|
|
|
|
"-Wclippy::str-to-string",
|
|
|
|
"-Wclippy::string-add",
|
|
|
|
"-Wclippy::string-add-assign",
|
|
|
|
"-Wclippy::string-to-string",
|
|
|
|
"-Wclippy::struct-excessive-bools",
|
|
|
|
"-Wclippy::suspicious-xor-used-as-pow",
|
|
|
|
"-Wclippy::tests-outside-test-module",
|
|
|
|
"-Wclippy::todo",
|
|
|
|
"-Wclippy::transmute-ptr-to-ptr",
|
|
|
|
"-Wclippy::trivially-copy-pass-by-ref",
|
|
|
|
"-Wclippy::try-err",
|
|
|
|
"-Wclippy::unchecked-duration-subtraction",
|
|
|
|
"-Wclippy::undocumented-unsafe-blocks",
|
|
|
|
"-Wclippy::unicode-not-nfc",
|
|
|
|
"-Wclippy::unimplemented",
|
|
|
|
"-Wclippy::uninlined-format-args",
|
|
|
|
"-Wclippy::unnecessary-box-returns",
|
|
|
|
"-Wclippy::unnecessary-join",
|
|
|
|
"-Wclippy::unnecessary-safety-comment",
|
|
|
|
"-Wclippy::unnecessary-safety-doc",
|
|
|
|
"-Wclippy::unnecessary-self-imports",
|
|
|
|
"-Wclippy::unnecessary-wraps",
|
|
|
|
"-Wclippy::unneeded-field-pattern",
|
|
|
|
"-Wclippy::unnested-or-patterns",
|
|
|
|
"-Wclippy::unreadable-literal",
|
|
|
|
"-Wclippy::unsafe-derive-deserialize",
|
|
|
|
"-Wclippy::unseparated-literal-suffix",
|
|
|
|
"-Wclippy::unused-async",
|
|
|
|
"-Wclippy::unused-self",
|
|
|
|
"-Wclippy::unwrap-in-result",
|
|
|
|
"-Wclippy::use-debug",
|
|
|
|
"-Wclippy::used-underscore-binding",
|
|
|
|
"-Wclippy::verbose-bit-mask",
|
|
|
|
"-Wclippy::verbose-file-reads",
|
|
|
|
"-Wclippy::wildcard-dependencies",
|
|
|
|
"-Wclippy::zero-sized-map-values",
|
|
|
|
"-Wtrivial-casts",
|
|
|
|
"-Wtrivial-numeric-casts",
|
|
|
|
"-Wunsafe-code",
|
|
|
|
"-Wunused-lifetimes",
|
|
|
|
"-Wunused-qualifications",
|
|
|
|
]
|