# Clippy configuration for tiktoken_rust
# Set the maximum cognitive complexity for functions
= 25
# Set the maximum number of lines for a function
= 80
# Set the maximum number of arguments for a function
= 6
# Set the maximum number of single char bindings
= 3
# Set the maximum size of types to avoid the type_complexity lint
= 200
# Avoid certain lints that might be too strict for this project
= false
# Enable additional lints
= "1.85.0"
# Additional modern clippy configurations
= true
= true
= true
# Enforce modern Rust patterns
# disallowed-methods can be enabled when needed for specific patterns
# Enforce documentation
= false