[package]
edition = "2024"
rust-version = "1.94.1"
name = "drmkit-core"
version = "0.1.2"
authors = ["Joel Winarske <joel.winarske@linux.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core DRM/KMS device access for drmkit: device handles, property caching, and atomic requests."
homepage = "https://github.com/jwinarske/drmkit"
readme = "README.md"
keywords = [
"drm",
"kms",
"atomic",
"modesetting",
]
categories = [
"graphics",
"os::linux-apis",
]
license = "MIT"
repository = "https://github.com/jwinarske/drmkit"
[lib]
name = "drmkit_core"
path = "src/lib.rs"
[dependencies.drm]
version = "0.15"
[dependencies.drm-ffi]
version = "0.9"
[dependencies.drmkit-log]
version = "0.1.2"
[dependencies.rustix]
version = "1"
features = [
"std",
"event",
]
default-features = false
[dependencies.thiserror]
version = "2"
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