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.
This commit is contained in:
Illia Bobyr 2023-04-29 01:23:15 -07:00 committed by GitHub
parent 53e9e8b8d7
commit b790c129e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]