diff --git a/Cargo.toml b/Cargo.toml index 7d19c86..9775c54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,8 +22,9 @@ tempfile = "3.3.0" wayland-client = {version = "0.29", features = ["use_system_lib"], default_features = false} x11-dl = "2.19.1" -[target.'cfg(target_os = "windows")'.dependencies] -winapi = "0.3.9" +[target.'cfg(target_os = "windows")'.dependencies.winapi] +version = "0.3.9" +features = ["windef", "wingdi", "winuser"] [target.'cfg(target_os = "macos")'.dependencies] cocoa = "0.24.0"