From dbf8d87ecb93c0f3069742e351d35de120189760 Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 12 Feb 2024 14:19:07 -0800 Subject: [PATCH] Add Win32_Foundation feature to windows-sys dep. (#547) * Add Win32_Foundation feature to windows-sys dep. 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` * See if CI is a flake - doesn't look like it, but. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0dd53e8e2..bfeee771e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"