rustqual 1.2.2

Comprehensive Rust code quality analyzer — seven dimensions: IOSP, Complexity, DRY, SRP, Coupling, Test Quality, Architecture
Documentation
# Minimal rustqual.toml for the golden example.
#
# Activates only the single Architecture rule this fixture exercises,
# so the intended violation is the only finding possible.

[weights]
iosp         = 0.22
complexity   = 0.18
dry          = 0.13
srp          = 0.18
coupling     = 0.09
test_quality = 0.10
architecture = 0.10

[architecture]
enabled = true

[architecture.layers]
order = ["domain", "adapter"]
unmatched_behavior = "composition_root"

[architecture.layers.domain]
paths = ["src/domain/**"]

[architecture.layers.adapter]
paths = ["src/adapters/**"]

[[architecture.pattern]]
name = "no_boxed_allocations_in_domain"
forbid_function_call = ["Box::new"]
forbidden_in = ["src/domain/**"]
reason = "Domain stays heap-allocation free"