lints

`rustc` lints.
git clone https://git.philomathiclife.com/repos/lints
Log | Files | Refs | README

commit 9925eaba706db7aca9c59c099f99a89af58e5516
parent 3a4cfa57c69d4f1ba915808e3c5c6c03f00c81b7
Author: Zack Newman <zack@philomathiclife.com>
Date:   Mon, 26 Jan 2026 14:46:51 -0700

re-enable lints after release

Diffstat:
MCargo.toml | 238++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 119 insertions(+), 119 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml @@ -13,128 +13,128 @@ rust-version = "1.89.0" version = "0.1.0" [lints.rust] -#deprecated-safe = { level = "deny", priority = -1 } -#future-incompatible = { level = "deny", priority = -1 } -#keyword-idents = { level = "deny", priority = -1 } -#let-underscore = { level = "deny", priority = -1 } -#nonstandard-style = { level = "deny", priority = -1 } -#refining-impl-trait = { level = "deny", priority = -1 } -#rust-2018-compatibility = { level = "deny", priority = -1 } -#rust-2018-idioms = { level = "deny", priority = -1 } -#rust-2021-compatibility = { level = "deny", priority = -1 } -#rust-2024-compatibility = { level = "deny", priority = -1 } -#unknown-or-malformed-diagnostic-attributes = { level = "deny", priority = -1 } -#unused = { level = "deny", priority = -1 } -#warnings = { level = "deny", priority = -1 } -#ambiguous-negative-literals = { level = "deny", priority = -1 } -#closure-returning-async-block = { level = "deny", priority = -1 } -#deprecated-in-future = { level = "deny", priority = -1 } -#deref-into-dyn-supertrait = { level = "deny", priority = -1 } -#ffi-unwind-calls = { level = "deny", priority = -1 } -##fuzzy-provenance-casts = { level = "deny", priority = -1 } -#impl-trait-redundant-captures = { level = "deny", priority = -1 } -#linker-messages = { level = "deny", priority = -1 } -##lossy-provenance-casts = { level = "deny", priority = -1 } -#macro-use-extern-crate = { level = "deny", priority = -1 } -#meta-variable-misuse = { level = "deny", priority = -1 } -#missing-copy-implementations = { level = "deny", priority = -1 } -#missing-debug-implementations = { level = "deny", priority = -1 } -#missing-docs = { level = "deny", priority = -1 } -##multiple-supertrait-upcastable = { level = "deny", priority = -1 } -##must-not-suspend = { level = "deny", priority = -1 } -#non-ascii-idents = { level = "deny", priority = -1 } -##non-exhaustive-omitted-patterns = { level = "deny", priority = -1 } -#redundant-imports = { level = "deny", priority = -1 } -#redundant-lifetimes = { level = "deny", priority = -1 } -##resolving-to-items-shadowing-supertrait-items = { level = "deny", priority = -1 } -##shadowing-supertrait-items = { level = "deny", priority = -1 } -#single-use-lifetimes = { level = "deny", priority = -1 } -#trivial-casts = { level = "deny", priority = -1 } -#trivial-numeric-casts = { level = "deny", priority = -1 } -#unit-bindings = { level = "deny", priority = -1 } -#unnameable-types = { level = "deny", priority = -1 } -##unqualified-local-imports = { level = "deny", priority = -1 } -#unreachable-pub = { level = "deny", priority = -1 } -#unsafe-code = { level = "deny", priority = -1 } -#unstable-features = { level = "deny", priority = -1 } -#unused-crate-dependencies = { level = "deny", priority = -1 } -#unused-import-braces = { level = "deny", priority = -1 } -#unused-lifetimes = { level = "deny", priority = -1 } -#unused-qualifications = { level = "deny", priority = -1 } -#unused-results = { level = "deny", priority = -1 } -#variant-size-differences = { level = "deny", priority = -1 } +deprecated-safe = { level = "deny", priority = -1 } +future-incompatible = { level = "deny", priority = -1 } +keyword-idents = { level = "deny", priority = -1 } +let-underscore = { level = "deny", priority = -1 } +nonstandard-style = { level = "deny", priority = -1 } +refining-impl-trait = { level = "deny", priority = -1 } +rust-2018-compatibility = { level = "deny", priority = -1 } +rust-2018-idioms = { level = "deny", priority = -1 } +rust-2021-compatibility = { level = "deny", priority = -1 } +rust-2024-compatibility = { level = "deny", priority = -1 } +unknown-or-malformed-diagnostic-attributes = { level = "deny", priority = -1 } +unused = { level = "deny", priority = -1 } +warnings = { level = "deny", priority = -1 } +ambiguous-negative-literals = { level = "deny", priority = -1 } +closure-returning-async-block = { level = "deny", priority = -1 } +deprecated-in-future = { level = "deny", priority = -1 } +deref-into-dyn-supertrait = { level = "deny", priority = -1 } +ffi-unwind-calls = { level = "deny", priority = -1 } +#fuzzy-provenance-casts = { level = "deny", priority = -1 } +impl-trait-redundant-captures = { level = "deny", priority = -1 } +linker-messages = { level = "deny", priority = -1 } +#lossy-provenance-casts = { level = "deny", priority = -1 } +macro-use-extern-crate = { level = "deny", priority = -1 } +meta-variable-misuse = { level = "deny", priority = -1 } +missing-copy-implementations = { level = "deny", priority = -1 } +missing-debug-implementations = { level = "deny", priority = -1 } +missing-docs = { level = "deny", priority = -1 } +#multiple-supertrait-upcastable = { level = "deny", priority = -1 } +#must-not-suspend = { level = "deny", priority = -1 } +non-ascii-idents = { level = "deny", priority = -1 } +#non-exhaustive-omitted-patterns = { level = "deny", priority = -1 } +redundant-imports = { level = "deny", priority = -1 } +redundant-lifetimes = { level = "deny", priority = -1 } +#resolving-to-items-shadowing-supertrait-items = { level = "deny", priority = -1 } +#shadowing-supertrait-items = { level = "deny", priority = -1 } +single-use-lifetimes = { level = "deny", priority = -1 } +trivial-casts = { level = "deny", priority = -1 } +trivial-numeric-casts = { level = "deny", priority = -1 } +unit-bindings = { level = "deny", priority = -1 } +unnameable-types = { level = "deny", priority = -1 } +#unqualified-local-imports = { level = "deny", priority = -1 } +unreachable-pub = { level = "deny", priority = -1 } +unsafe-code = { level = "deny", priority = -1 } +unstable-features = { level = "deny", priority = -1 } +unused-crate-dependencies = { level = "deny", priority = -1 } +unused-import-braces = { level = "deny", priority = -1 } +unused-lifetimes = { level = "deny", priority = -1 } +unused-qualifications = { level = "deny", priority = -1 } +unused-results = { level = "deny", priority = -1 } +variant-size-differences = { level = "deny", priority = -1 } # Before publishing to crates.io, comment above and uncomment below. -warnings = { level = "allow", priority = -1 } -ambiguous-associated-items = { level = "allow", priority = -1 } -ambiguous-glob-imports = { level = "allow", priority = -1 } -arithmetic-overflow = { level = "allow", priority = -1 } -binary-asm-labels = { level = "allow", priority = -1 } -bindings-with-variant-name = { level = "allow", priority = -1 } -conflicting-repr-hints = { level = "allow", priority = -1 } -dangerous-implicit-autorefs = { level = "allow", priority = -1 } -default-overrides-default-fields = { level = "allow", priority = -1 } -dependency-on-unit-never-type-fallback = { level = "allow", priority = -1 } -deref-nullptr = { level = "allow", priority = -1 } -elided-lifetimes-in-associated-constant = { level = "allow", priority = -1 } -enum-intrinsics-non-enums = { level = "allow", priority = -1 } -explicit-builtin-cfgs-in-flags = { level = "allow", priority = -1 } -ill-formed-attribute-input = { level = "allow", priority = -1 } -incomplete-include = { level = "allow", priority = -1 } -ineffective-unstable-trait-impl = { level = "allow", priority = -1 } -invalid-atomic-ordering = { level = "allow", priority = -1 } -invalid-doc-attributes = { level = "allow", priority = -1 } -invalid-from-utf8-unchecked = { level = "allow", priority = -1 } -invalid-macro-export-arguments = { level = "allow", priority = -1 } -invalid-null-arguments = { level = "allow", priority = -1 } -invalid-reference-casting = { level = "allow", priority = -1 } -invalid-type-param-default = { level = "allow", priority = -1 } -legacy-derive-helpers = { level = "allow", priority = -1 } -let-underscore-lock = { level = "allow", priority = -1 } -long-running-const-eval = { level = "allow", priority = -1 } -macro-expanded-macro-exports-accessed-by-absolute-paths = { level = "allow", priority = -1 } -mutable-transmutes = { level = "allow", priority = -1 } -named-asm-labels = { level = "allow", priority = -1 } -never-type-fallback-flowing-into-unsafe = { level = "allow", priority = -1 } -no-mangle-const-items = { level = "allow", priority = -1 } -out-of-scope-macro-calls = { level = "allow", priority = -1 } -overflowing-literals = { level = "allow", priority = -1 } -patterns-in-fns-without-body = { level = "allow", priority = -1 } -proc-macro-derive-resolution-fallback = { level = "allow", priority = -1 } -pub-use-of-private-extern-crate = { level = "allow", priority = -1 } -repr-transparent-non-zst-fields = { level = "allow", priority = -1 } -semicolon-in-expressions-from-macros = { level = "allow", priority = -1 } -soft-unstable = { level = "allow", priority = -1 } -test-unstable-lint = { level = "allow", priority = -1 } -text-direction-codepoint-in-comment = { level = "allow", priority = -1 } -text-direction-codepoint-in-literal = { level = "allow", priority = -1 } -unconditional-panic = { level = "allow", priority = -1 } -undropped-manually-drops = { level = "allow", priority = -1 } -unknown-crate-types = { level = "allow", priority = -1 } -useless-deprecated = { level = "allow", priority = -1 } +#warnings = { level = "allow", priority = -1 } +#ambiguous-associated-items = { level = "allow", priority = -1 } +#ambiguous-glob-imports = { level = "allow", priority = -1 } +#arithmetic-overflow = { level = "allow", priority = -1 } +#binary-asm-labels = { level = "allow", priority = -1 } +#bindings-with-variant-name = { level = "allow", priority = -1 } +#conflicting-repr-hints = { level = "allow", priority = -1 } +#dangerous-implicit-autorefs = { level = "allow", priority = -1 } +#default-overrides-default-fields = { level = "allow", priority = -1 } +#dependency-on-unit-never-type-fallback = { level = "allow", priority = -1 } +#deref-nullptr = { level = "allow", priority = -1 } +#elided-lifetimes-in-associated-constant = { level = "allow", priority = -1 } +#enum-intrinsics-non-enums = { level = "allow", priority = -1 } +#explicit-builtin-cfgs-in-flags = { level = "allow", priority = -1 } +#ill-formed-attribute-input = { level = "allow", priority = -1 } +#incomplete-include = { level = "allow", priority = -1 } +#ineffective-unstable-trait-impl = { level = "allow", priority = -1 } +#invalid-atomic-ordering = { level = "allow", priority = -1 } +#invalid-doc-attributes = { level = "allow", priority = -1 } +#invalid-from-utf8-unchecked = { level = "allow", priority = -1 } +#invalid-macro-export-arguments = { level = "allow", priority = -1 } +#invalid-null-arguments = { level = "allow", priority = -1 } +#invalid-reference-casting = { level = "allow", priority = -1 } +#invalid-type-param-default = { level = "allow", priority = -1 } +#legacy-derive-helpers = { level = "allow", priority = -1 } +#let-underscore-lock = { level = "allow", priority = -1 } +#long-running-const-eval = { level = "allow", priority = -1 } +#macro-expanded-macro-exports-accessed-by-absolute-paths = { level = "allow", priority = -1 } +#mutable-transmutes = { level = "allow", priority = -1 } +#named-asm-labels = { level = "allow", priority = -1 } +#never-type-fallback-flowing-into-unsafe = { level = "allow", priority = -1 } +#no-mangle-const-items = { level = "allow", priority = -1 } +#out-of-scope-macro-calls = { level = "allow", priority = -1 } +#overflowing-literals = { level = "allow", priority = -1 } +#patterns-in-fns-without-body = { level = "allow", priority = -1 } +#proc-macro-derive-resolution-fallback = { level = "allow", priority = -1 } +#pub-use-of-private-extern-crate = { level = "allow", priority = -1 } +#repr-transparent-non-zst-fields = { level = "allow", priority = -1 } +#semicolon-in-expressions-from-macros = { level = "allow", priority = -1 } +#soft-unstable = { level = "allow", priority = -1 } +#test-unstable-lint = { level = "allow", priority = -1 } +#text-direction-codepoint-in-comment = { level = "allow", priority = -1 } +#text-direction-codepoint-in-literal = { level = "allow", priority = -1 } +#unconditional-panic = { level = "allow", priority = -1 } +#undropped-manually-drops = { level = "allow", priority = -1 } +#unknown-crate-types = { level = "allow", priority = -1 } +#useless-deprecated = { level = "allow", priority = -1 } # Before publishing to crates.io, comment below. -#[lints.clippy] -#cargo = { level = "deny", priority = -1 } -#complexity = { level = "deny", priority = -1 } -#correctness = { level = "deny", priority = -1 } -#nursery = { level = "deny", priority = -1 } -#pedantic = { level = "deny", priority = -1 } -#perf = { level = "deny", priority = -1 } -#restriction = { level = "deny", priority = -1 } -#style = { level = "deny", priority = -1 } -#suspicious = { level = "deny", priority = -1 } -## Noisy, opinionated, and likely don't prevent bugs or improve APIs. -#arbitrary_source_item_ordering = "allow" -#blanket_clippy_restriction_lints = "allow" -#implicit_return = "allow" -#min_ident_chars = "allow" -#missing_trait_methods = "allow" -#pub_with_shorthand = "allow" -#redundant_pub_crate = "allow" -#return_and_then = "allow" -#single_call_fn = "allow" -#single_char_lifetime_names = "allow" -#unseparated_literal_suffix = "allow" +[lints.clippy] +cargo = { level = "deny", priority = -1 } +complexity = { level = "deny", priority = -1 } +correctness = { level = "deny", priority = -1 } +nursery = { level = "deny", priority = -1 } +pedantic = { level = "deny", priority = -1 } +perf = { level = "deny", priority = -1 } +restriction = { level = "deny", priority = -1 } +style = { level = "deny", priority = -1 } +suspicious = { level = "deny", priority = -1 } +# Noisy, opinionated, and likely don't prevent bugs or improve APIs. +arbitrary_source_item_ordering = "allow" +blanket_clippy_restriction_lints = "allow" +implicit_return = "allow" +min_ident_chars = "allow" +missing_trait_methods = "allow" +pub_with_shorthand = "allow" +redundant_pub_crate = "allow" +return_and_then = "allow" +single_call_fn = "allow" +single_char_lifetime_names = "allow" +unseparated_literal_suffix = "allow" [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu"