Skip to content

Commit

Permalink
Move nvapi dependency to windows target
Browse files Browse the repository at this point in the history
NVAPI only works on Windows, should not build it on other targets.
  • Loading branch information
jabl committed Mar 13, 2024
1 parent a5b76e0 commit dd6b0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ ddc-macos = "^0.2"

[target.'cfg(target_os = "linux")'.dependencies]
ddc-i2c = "^0.2"
nvapi = "^0.1"
uinput = "^0.1"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "^0.3", features = ["winuser", "libloaderapi"] }
ddc-winapi = "^0.2"
nvapi = "^0.1"

0 comments on commit dd6b0e8

Please sign in to comment.