[package]
edition = "2021"
rust-version = "1.75"
name = "df_ddc"
version = "0.1.1"
authors = ["piot5"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DDC/CI monitor control backend."
homepage = "https://github.com/piot5/displaymanager"
documentation = "https://docs.rs/df_ddc"
readme = "README.md"
keywords = [
"display",
"monitor",
"ddc",
"ddc-ci",
"vcp",
]
categories = [
"os::windows-apis",
"os::linux-apis",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/piot5/displaymanager"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "df_ddc"
path = "src/lib.rs"
[[bin]]
name = "ddc_mgr"
path = "src/bin/ddc_mgr.rs"
[[example]]
name = "ddc_monitor_control"
path = "examples/ddc_monitor_control.rs"
[[example]]
name = "ddc_monitor_listing"
path = "examples/ddc_monitor_listing.rs"
[[example]]
name = "list_monitors"
path = "examples/list_monitors.rs"
[[test]]
name = "ddc_test"
path = "tests/ddc_test.rs"
[[test]]
name = "ddc_trait_test"
path = "tests/ddc_trait_test.rs"
[[test]]
name = "ddc_types_test"
path = "tests/ddc_types_test.rs"
[[bench]]
name = "ddc_operations"
path = "benches/ddc_operations.rs"
harness = false
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dependencies.env_logger]
version = "0.11"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1.0.210"
features = [
"derive",
"derive",
]
[dependencies.thiserror]
version = "1.0.63"
[dev-dependencies.criterion]
version = "0.4.0"
features = [
"async_tokio",
"async_tokio",
]
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.186"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58.0"
features = [
"Win32",
"Win32_Devices",
"Win32_Devices_Display",
"Win32_Graphics",
"Win32_Graphics_Gdi",
"Win32_System",
"Win32_System_Registry",
"Win32_Foundation",
"Win32_UI",
"Win32_UI_HiDpi",
]