fix(windows): fix the windows build

Fix the windows build by adding features that were feature gated in the update
of windows-sys from 0.48.0 -> 0.52.0.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Co-authored-by: Steven Davies <github@steev.me.uk>
This commit is contained in:
Christina Sørensen 2023-11-29 05:23:35 +01:00
parent f543c92b1e
commit 3fe76fac7d

View file

@ -104,7 +104,10 @@ proc-mounts = "0.3"
uzers = "0.11.3"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = "0.52.0"
windows-sys = { version = "0.52.0", features = [
"Win32_System_Console",
"Win32_Foundation",
] }
[build-dependencies]
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }