commit 53f472412263d3e97e7ba59452f6d32ebe29a163
parent ae14dd2c6b561f93279f6a1d2b4505b73f7094a8
Author: Zack Newman <zack@philomathiclife.com>
Date: Tue, 27 Jan 2026 14:21:51 -0700
cut release
Diffstat:
| M | Cargo.toml | | | 241 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 120 insertions(+), 121 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -4,138 +4,137 @@ categories = ["command-line-utilities", "development-tools", "rust-patterns"]
description = "Writes [lints.rust] to stdout such that all lints are denied or allowed."
documentation = "https://crates.io/crates/lints/"
edition = "2024"
-exclude = ["outputs/"]
keywords = ["lints", "rust"]
license = "MIT OR Apache-2.0"
name = "lints"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/lints/"
rust-version = "1.89.0"
-version = "0.1.0"
+version = "0.2.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"