Skip to content

Commit

Permalink
fix: add missing winapi features on a fresh build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingtous committed Nov 10, 2023
1 parent 45dbea5 commit e57d07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ system_shutdown = "4.0"
shutdown_hooks = "0.1"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser", "wincrypt", "shellscalingapi"] }
winapi = { version = "0.3", features = ["winuser", "wincrypt", "shellscalingapi", "pdh", "synchapi", "memoryapi"] }
winreg = "0.11"
windows-service = "0.6"
virtual_display = { path = "libs/virtual_display", optional = true }
Expand Down Expand Up @@ -159,7 +159,7 @@ FileDescription = "RustDesk"

[target.'cfg(target_os="windows")'.build-dependencies]
winres = "0.1"
winapi = { version = "0.3", features = [ "winnt" ] }
winapi = { version = "0.3", features = [ "winnt", "pdh", "synchapi" ] }

[build-dependencies]
cc = "1.0"
Expand Down

0 comments on commit e57d07f

Please sign in to comment.