# Clippy configuration for StemeDB
# See: https://doc.rust-lang.org/clippy/configuration.html

# Minimum Supported Rust Version
msrv = "1.75.0"

# Cognitive complexity threshold for functions
cognitive-complexity-threshold = 25

# Maximum number of function parameters
too-many-arguments-threshold = 7

# Maximum lines per function
too-many-lines-threshold = 100

# Allow unwrap/expect in tests
allow-unwrap-in-tests = true
allow-expect-in-tests = true

# Allow panic in tests
allow-panic-in-tests = true

# Allow dbg! in tests
allow-dbg-in-tests = true
