# Clippy configuration for Photon Circus Haptics.
# See: https://doc.rust-lang.org/clippy/lint_configuration.html
# Lint levels are defined in src/lib.rs; this file only stores configuration values.
# MSRV for this project (Rust 2024 edition)
= "1.92.0"
# Allow slightly longer functions for driver code
= 150
# Hardware drivers often need many arguments for configuration
= 10
# Embedded code often has deeper type nesting
= 350
# Allow more struct fields for configuration structs
= 4
# Max function bool parameters
= 4
# Cognitive complexity threshold for functions
= 30
# Allow these short identifiers (common in embedded)
= ["i", "n", "x", "y", "id", "ok", "rx", "tx"]
# Threshold for single char binding names
= 5