Skip to content

Commit 8702b17

Browse files
committed
Cargo.toml: Split winapi to new section
Because `winapi` features are so long.
1 parent 892dc98 commit 8702b17

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
@@ -53,9 +53,34 @@ xz2 = "0.1.3"
5353

5454
[target."cfg(windows)".dependencies]
5555
cc = "1"
56-
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"] }
5756
winreg = "0.6"
5857

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

0 commit comments

Comments
 (0)