drm 0.14.2

Safe, low-level bindings to the Direct Rendering Manager API
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.70"
name = "drm"
version = "0.14.2"
authors = [
    "Tyler Slabinski <slabity@slabity.dev>",
    "Victoria Brekenfeld <crates-io@drakulix.de>",
]
build = false
exclude = [
    ".gitignore",
    ".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, low-level bindings to the Direct Rendering Manager API"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Smithay/drm-rs"

[features]
use_bindgen = ["drm-ffi/use_bindgen"]

[lib]
name = "drm"
path = "src/lib.rs"

[[example]]
name = "atomic_modeset"
path = "examples/atomic_modeset.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "ffi"
path = "examples/ffi.rs"

[[example]]
name = "kms_interactive"
path = "examples/kms_interactive.rs"

[[example]]
name = "legacy_modeset"
path = "examples/legacy_modeset.rs"

[[example]]
name = "list_modes"
path = "examples/list_modes.rs"

[[example]]
name = "planes"
path = "examples/planes.rs"

[[example]]
name = "properties"
path = "examples/properties.rs"

[[example]]
name = "resources"
path = "examples/resources.rs"

[[example]]
name = "syncobj"
path = "examples/syncobj.rs"

[dependencies.bitflags]
version = "^2"

[dependencies.bytemuck]
version = "^1.14"
features = [
    "extern_crate_alloc",
    "derive",
]

[dependencies.bytemuck_derive]
version = "^1.5"

[dependencies.drm-ffi]
version = "0.9"

[dependencies.drm-fourcc]
version = "^2.2"

[dependencies.rustix]
version = "^1"
features = [
    "mm",
    "fs",
]

[dev-dependencies.image]
version = "0.24"
features = ["png"]
default-features = false

[dev-dependencies.rustix]
version = "^1"
features = [
    "event",
    "mm",
]

[dev-dependencies.rustyline]
version = "13"

[target.'cfg(any(target_os = "freebsd", target_os = "dragonfly"))'.dependencies.libc]
version = "0.2"