loq_core 0.1.0-alpha.4

Core library for loq - enforce file size constraints
Documentation

Core domain logic for loq - a file size enforcement tool.

This crate provides the foundational types and logic for enforcing file size limits across a codebase. It handles configuration parsing, rule matching, and violation reporting.

Architecture

  • [config]: Configuration types and compilation (glob patterns → matchers)
  • [parse]: TOML parsing with unknown key detection and suggestions
  • [decide]: Rule matching logic (exclude → rules → default)
  • [report]: Outcome aggregation and finding generation
  • format: Human-readable output formatting