lints 0.3.1

Writes [lints.rust] to stdout such that all lints are denied or allowed.
[package]
authors = ["Zack Newman <zack@philomathiclife.com>"]
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"
keywords = ["lints", "rust"]
license = "MIT OR Apache-2.0"
name = "lints"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/lints/"
rust-version = "1.93.1"
version = "0.3.1"

[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 }
# Before publishing to crates.io, comment above and uncomment below.
warnings = { level = "allow", priority = -1 }
ambiguous-associated-items = { 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-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.rustdoc]
# Before publishing to crates.io, comment below and uncomment below that.
#all = { level = "deny", priority = -1 }
all = "allow"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = [
  "aarch64-apple-darwin",
  "aarch64-pc-windows-msvc",
  "aarch64-unknown-linux-gnu",
  "i686-pc-windows-msvc",
  "i686-unknown-linux-gnu",
  "x86_64-pc-windows-gnu",
  "x86_64-pc-windows-msvc",
  "x86_64-unknown-freebsd",
  "x86_64-unknown-linux-musl",
  "x86_64-unknown-netbsd"
]

[target.'cfg(target_os = "openbsd")'.dependencies]
priv_sep = { version = "3.0.0-alpha.5.0", default-features = false, features = ["std"] }

[profile.release]
codegen-units = 1
lto = true
panic = 'abort'
strip = true