From b790c129e0a0331901401404c9c19e6b82dbf901 Mon Sep 17 00:00:00 2001 From: Illia Bobyr Date: Sat, 29 Apr 2023 01:23:15 -0700 Subject: [PATCH] Cargo.toml: winapi: List used features (#31417) `winapi` hides every module behind a feature flag, see here: https://github.com/retep998/winapi-rs#why-am-i-getting-errors-about-unresolved-imports `install` was working by accident as for each package, requested feature set is a superset of all features requested by all packages in the workspace, and `console` used to list features that `install` needs. But after a change in `console` we had build breakages. --- install/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/Cargo.toml b/install/Cargo.toml index 1a92f5cc53..588d4315df 100644 --- a/install/Cargo.toml +++ b/install/Cargo.toml @@ -39,7 +39,7 @@ tempfile = { workspace = true } url = { workspace = true } [target."cfg(windows)".dependencies] -winapi = { workspace = true } +winapi = { workspace = true, features = ["minwindef", "winuser"] } winreg = { workspace = true } [package.metadata.docs.rs]