mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 20:44:09 +08:00
Merge pull request #6349 from 21pages/fix
fix windows build, add winapi features
This commit is contained in:
commit
959d5dd9c2
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -5887,7 +5887,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "sysinfo"
|
||||
version = "0.29.10"
|
||||
source = "git+https://github.com/GuillaumeGomez/sysinfo#f45dcc6510d48c3a1401c5a33eedccc8899f67b2"
|
||||
source = "git+https://github.com/rustdesk-org/sysinfo#f45dcc6510d48c3a1401c5a33eedccc8899f67b2"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"core-foundation-sys 0.8.4",
|
||||
|
@ -53,7 +53,7 @@ flatpak = []
|
||||
protobuf-codegen = { version = "3.2" }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3", features = ["winuser"] }
|
||||
winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi"] }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
osascript = "0.3"
|
||||
|
Loading…
Reference in New Issue
Block a user