Skip to content

Commit

Permalink
Add Win32_Foundation feature to windows-sys dep.
Browse files Browse the repository at this point in the history
This is needed by the following functions we use in the easy API
Windows suppport:
+ `windows_sys::Win32::System::LibraryLoader::GetProcAddress`
+ `windows_sys::Win32::System::LibraryLoader::GetModuleHandleW`
  • Loading branch information
jsirois committed Feb 12, 2024
1 parent c0c7a66 commit 9f8c905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ openssl-probe = { version = "0.1.2", optional = true }

[target.'cfg(target_env = "msvc")'.dependencies]
schannel = "0.1.13"
windows-sys = { version = "0.52", features = ["Win32_System_LibraryLoader", "Win32_Security_Cryptography"] }
windows-sys = { version = "0.52", features = ["Win32_Foundation", "Win32_System_LibraryLoader", "Win32_Security_Cryptography"] }

[dev-dependencies]
mio = "0.6"
Expand Down

0 comments on commit 9f8c905

Please sign in to comment.