refactor(wm): add dep injection to monitor reconiliator

This commit adds some dependency injection to the monitor reconciliator
module to make it easier to test the behaviour when different kinds of
data are returned from win32_display_data.
This commit is contained in:
LGUG2Z
2025-03-20 20:07:45 -07:00
parent 072a62c314
commit 64d29d606a
4 changed files with 22 additions and 13 deletions

2
Cargo.lock generated
View File

@@ -6085,7 +6085,7 @@ dependencies = [
[[package]]
name = "win32-display-data"
version = "0.1.0"
source = "git+https://github.com/LGUG2Z/win32-display-data?rev=93949750b1f123fb79827ba4d66ffcab68055654#93949750b1f123fb79827ba4d66ffcab68055654"
source = "git+https://github.com/LGUG2Z/win32-display-data?rev=a28c6559a9de2f92c142a714947a9b081776caca#a28c6559a9de2f92c142a714947a9b081776caca"
dependencies = [
"itertools 0.14.0",
"serde",