[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.89.0"
version = "0.2.0"
[lints.rust]
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 }
[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.4.0", default-features = false, features = ["std"] }
[profile.release]
codegen-units = 1
lto = true
panic = 'abort'
strip = true