- Eliminated dead code methods (get_connection_state, etc.) - Fixed unused variable warnings by prefixing with underscore - Applied cargo fix to all major crates - Reduced warnings from 6442 to ~5295 - Fixed event_sender variable warnings across codebase - Removed truly unused methods and constants Remaining warnings are primarily: - Documentation (missing_docs) - ~4700 warnings - Minor unused fields/methods - ~500 warnings - These are non-critical and can be addressed incrementally
23 lines
582 B
TOML
23 lines
582 B
TOML
# Clippy Configuration for Foxhunt HFT System
|
|
# Focus on performance and correctness for high-frequency trading
|
|
|
|
# Complexity thresholds
|
|
cognitive-complexity-threshold = 30
|
|
too-many-lines-threshold = 150
|
|
type-complexity-threshold = 250
|
|
too-many-arguments-threshold = 8
|
|
|
|
# Performance-critical settings
|
|
trivial-copy-size-limit = 8
|
|
pass-by-value-size-limit = 256
|
|
|
|
# Testing allowances
|
|
allow-expect-in-tests = true
|
|
allow-unwrap-in-tests = true
|
|
allow-panic-in-tests = true
|
|
|
|
# Documentation
|
|
missing-docs-in-crate-items = false
|
|
|
|
# Avoid breaking changes
|
|
avoid-breaking-exported-api = true |