forked from haimgel/display-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (31 loc) · 994 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "display_switch"
version = "0.3.0"
authors = ["Haim Gelfenbeyn <[email protected]>"]
edition = "2018"
description = "An utility to watch for USB device connect/disconnect events and switch display inputs via DDC/CI"
readme = "README.md"
repository = "https://github.com/haimgel/display-switch/"
license = "MIT"
[build-dependencies]
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
[dependencies]
config = "^0.10"
paste = "^1"
dirs = "^3.0"
serde = { version = "^1.0", features = ["derive"] }
anyhow = "^1.0"
log = "^0.4"
simplelog = "^0.8"
ddc = "^0.2"
rusb = "^0.6"
ddc-hi = { "git" = "https://github.com/haimgel/ddc-hi-rs.git", branch = "feature/macos-support" }
[target.'cfg(target_os = "macos")'.dependencies]
ddc-macos = "^0.2"
[target.'cfg(target_os = "linux")'.dependencies]
ddc-i2c = "^0.2"
nvapi = "^0.1"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "^0.3", features = ["winuser", "libloaderapi"] }
ddc-winapi = "^0.2"