Skip to content

Commit f5a59eb

Browse files
committed
Cargo.toml: Split winapi to new section
Because `winapi` features are so long.
1 parent fe360bb commit f5a59eb

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

Cargo.toml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,34 @@ xz2 = "0.1.3"
5454

5555
[target."cfg(windows)".dependencies]
5656
cc = "1"
57-
winapi = { version = "0.3", features = ["combaseapi", "errhandlingapi", "fileapi", "handleapi", "ioapiset", "jobapi", "jobapi2", "minwindef", "processthreadsapi", "psapi", "shlobj", "shtypes", "synchapi", "sysinfoapi", "tlhelp32", "userenv", "winbase", "winerror", "winioctl", "winnt", "winuser"] }
5857
winreg = "0.6"
5958

59+
[target."cfg(windows)".dependencies.winapi]
60+
version = "0.3"
61+
features = [
62+
"combaseapi",
63+
"errhandlingapi",
64+
"fileapi",
65+
"handleapi",
66+
"ioapiset",
67+
"jobapi",
68+
"jobapi2",
69+
"minwindef",
70+
"processthreadsapi",
71+
"psapi",
72+
"shlobj",
73+
"shtypes",
74+
"synchapi",
75+
"sysinfoapi",
76+
"tlhelp32",
77+
"userenv",
78+
"winbase",
79+
"winerror",
80+
"winioctl",
81+
"winnt",
82+
"winuser",
83+
]
84+
6085
[workspace]
6186
members = ["download"]
6287

0 commit comments

Comments
 (0)