From 3fe76fac7d7e98f42454edca98e4dbb7a9dbc9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Wed, 29 Nov 2023 05:23:35 +0100 Subject: [PATCH] fix(windows): fix the windows build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Co-authored-by: Steven Davies --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b7653947..b3ecbae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }