Skip to content

Commit 6d1cccb

Browse files
Copilotsmalis-msft
authored andcommitted
Remove winapi dependency from PAL Cargo.toml - migration complete
Co-authored-by: smalis-msft <137308034+smalis-msft@users.noreply.github.com>
1 parent 11bf93d commit 6d1cccb

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5159,7 +5159,7 @@ dependencies = [
51595159
"thiserror 2.0.12",
51605160
"tracing",
51615161
"widestring",
5162-
"winapi",
5162+
"win_import_lib",
51635163
"windows 0.59.0",
51645164
]
51655165

support/pal/Cargo.toml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,7 @@ ntapi = { workspace = true, features = ["impl-default"] }
2222
socket2 = { workspace = true, features = ["all"] }
2323
widestring.workspace = true
2424

25-
[target.'cfg(windows)'.dependencies.winapi]
26-
workspace = true
27-
features = [
28-
"errhandlingapi",
29-
"fileapi",
30-
"handleapi",
31-
"heapapi",
32-
"ioapiset",
33-
"impl-default",
34-
"jobapi2",
35-
"memoryapi",
36-
"namedpipeapi",
37-
"ntstatus",
38-
"processenv",
39-
"processthreadsapi",
40-
"sddl",
41-
"securitybaseapi",
42-
"std",
43-
"synchapi",
44-
"threadpoolapiset",
45-
"winbase",
46-
"winerror",
47-
"winioctl",
48-
"winnt",
49-
"winsock2",
50-
]
25+
5126

5227
[target.'cfg(windows)'.dependencies.windows]
5328
workspace = true

0 commit comments

Comments
 (0)