-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
47 lines (38 loc) · 1.12 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "ddc-hi"
version = "0.5.0"
authors = ["arcnmx"]
build = "build.rs"
edition = "2021"
description = "High level DDC/CI monitor control"
keywords = ["ddc", "mccs", "vcp", "vesa"]
documentation = "http://docs.rs/ddc-hi/"
repository = "https://github.com/arcnmx/ddc-hi-rs"
readme = "README.md"
license = "MIT"
include = [
"/src/**/*.rs",
"/build.rs",
"/README*",
"/COPYING*",
]
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
ddc = "0.2"
edid = "0.3"
mccs = "0.1"
mccs-caps = "0.1"
mccs-db = "0.1"
thiserror = "1"
log = "0.4"
[target.'cfg(target_os = "linux")'.dependencies]
ddc-i2c = { version = "0.2", default-features = false, features = ["with-linux", "with-linux-enumerate"], optional = false }
[target.'cfg(windows)'.dependencies]
ddc-winapi = { version = "0.2", optional = true }
nvapi = { version = "0.1", default-features = false, features = ["i2c"], optional = true }
ddc-i2c = { version = "0.2", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
ddc-macos = { version = "0.2", optional = true }
[features]
default = ["ddc-i2c", "ddc-winapi", "nvapi", "ddc-macos"]