Skip to content

Commit bef3c52

Browse files
authored
Merge pull request #21 from Liamolucko/winapi-features
Enable needed features of winapi
2 parents 745c2d4 + ea6f97e commit bef3c52

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ tempfile = "3.3.0"
2222
wayland-client = {version = "0.29", features = ["use_system_lib"], default_features = false}
2323
x11-dl = "2.19.1"
2424

25-
[target.'cfg(target_os = "windows")'.dependencies]
26-
winapi = "0.3.9"
25+
[target.'cfg(target_os = "windows")'.dependencies.winapi]
26+
version = "0.3.9"
27+
features = ["windef", "wingdi", "winuser"]
2728

2829
[target.'cfg(target_os = "macos")'.dependencies]
2930
cocoa = "0.24.0"

0 commit comments

Comments
 (0)