Problem
FairnessConfig is currently defined in the connection module (src/connection.rs:82) but is consumed by the fairness module (src/fairness.rs:10). This creates a layering violation where a lower-level module depends on configuration defined in a higher-level module.
Desired Outcome
Move FairnessConfig into src/fairness.rs:1 where it logically belongs, and pub use it from the connection module to maintain the existing public API surface and avoid breaking changes.
Context
Raised by @leynos in PR #424: #424
Comment: #424 (comment)
Problem
FairnessConfigis currently defined in theconnectionmodule (src/connection.rs:82) but is consumed by thefairnessmodule (src/fairness.rs:10). This creates a layering violation where a lower-level module depends on configuration defined in a higher-level module.Desired Outcome
Move
FairnessConfigintosrc/fairness.rs:1where it logically belongs, andpub useit from theconnectionmodule to maintain the existing public API surface and avoid breaking changes.Context
Raised by @leynos in PR #424: #424
Comment: #424 (comment)