[package]
edition = "2024"
rust-version = "1.94.1"
name = "drmkit-display"
version = "0.1.2"
authors = ["Joel Winarske <joel.winarske@linux.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Display characterization and color handling for drmkit"
homepage = "https://github.com/jwinarske/drmkit"
readme = "README.md"
keywords = [
"drm",
"kms",
"display",
"graphics",
"embedded",
]
categories = [
"graphics",
"os::linux-apis",
]
license = "MIT"
repository = "https://github.com/jwinarske/drmkit"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
edid = ["dep:libdisplay-info"]
hotplug = ["dep:udev"]
[lib]
name = "drmkit_display"
path = "src/lib.rs"
[[test]]
name = "capabilities_device"
path = "tests/capabilities_device.rs"
[[test]]
name = "hotplug_device"
path = "tests/hotplug_device.rs"
required-features = ["hotplug"]
[[test]]
name = "modes_device"
path = "tests/modes_device.rs"
[[test]]
name = "pipeline_device"
path = "tests/pipeline_device.rs"
[[test]]
name = "scanout_device"
path = "tests/scanout_device.rs"
[dependencies.drm]
version = "0.15"
[dependencies.drmkit-core]
version = "0.1.2"
[dependencies.drmkit-fmt]
version = "0.1.2"
[dependencies.drmkit-modeset]
version = "0.1.2"
[dependencies.drmkit-planes]
version = "0.1.2"
[dependencies.libdisplay-info]
version = "0.3"
features = ["v0_3"]
optional = true
[dependencies.rustix]
version = "1"
features = ["std"]
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.udev]
version = "0.9"
optional = true
default-features = false
[dev-dependencies.rustix]
version = "1"
features = [
"std",
"event",
"process",
]
default-features = false
[lints.clippy]
exhaustive_enums = "warn"
exhaustive_structs = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "deny"
module_name_repetitions = "allow"
undocumented_unsafe_blocks = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1