# Generated by gimme-the-lint — Clippy threshold tuning (recommended tier)
#
# clippy.toml only tunes lint PARAMETERS. It cannot enable lint groups —
# that is done via the [lints.clippy] table in Cargo.toml (see the
# clippy-cargo-lints snippet gimme-the-lint also provides).

# Rust style guide suggests 6; Clippy's default is 7.
too-many-arguments-threshold = 6

# Default is 100; 80 is a sensible opinionated ceiling.
too-many-lines-threshold = 80

# Default is 25; 15 is a solid complexity gate.
cognitive-complexity-threshold = 15

# Allow unwrap/expect/indexing in tests without per-file attributes.
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-indexing-slicing-in-tests = true

# Set to your project's minimum supported Rust version so lint
# suggestions stay compatible.
msrv = "1.74"
