[package]
edition = "2021"
name = "df_displmgr"
version = "0.1.0"
authors = ["piot5"]
build = false
exclude = [
"/target/",
"/Cargo.lock",
"*.json",
"*.bak",
"*.tmp",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A unified cross-platform display configuration manager for Windows (CCD) and Linux (wlroots/DRM)."
homepage = "https://github.com/piot5/displaymanager"
readme = "README.md"
keywords = [
"display",
"monitor",
"windows-ccd",
"wayland",
"hdr",
]
categories = [
"os::windows-apis",
"os::linux-apis",
"gui",
]
license = "MIT"
repository = "https://github.com/piot5/displaymanager"
[lib]
name = "df_displmgr"
path = "src/lib.rs"
[[bin]]
name = "displmgr"
path = "src/bin/displmgr.rs"
[[bin]]
name = "id"
path = "src/bin/id.rs"
[[test]]
name = "test_activation_plan"
path = "tests/test_activation_plan.rs"
[[test]]
name = "test_basic_topology"
path = "tests/test_basic_topology.rs"
[[test]]
name = "test_topology_restore"
path = "tests/test_topology_restore.rs"
[[bench]]
name = "display_benchmark"
path = "benches/display_benchmark.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.clap]
version = "4.4"
features = ["derive"]
[dependencies.futures]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dev-dependencies.criterion]
version = "0.4"
features = ["async_tokio"]
[dev-dependencies.df_displmgr_info]
version = "0.1.0"
[target.'cfg(target_os = "linux")'.dependencies.drm]
version = "0.12"
[target.'cfg(target_os = "linux")'.dependencies.wayland-client]
version = "0.31"
[target.'cfg(target_os = "linux")'.dependencies.wayland-protocols]
version = "0.31"
features = [
"client",
"client",
]
[target.'cfg(target_os = "linux")'.dependencies.wayland-protocols-wlr]
version = "0.2"
features = [
"client",
"client",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_HiDpi",
"Win32_Devices_Display",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Registry",
]