blob: 32f2fb5dee3e390b80a9fefe4c60366f5aecefca [file] [log] [blame]
# 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.66"
name = "drm"
version = "0.14.1"
authors = [
"Tyler Slabinski <[email protected]>",
"Victoria Brekenfeld <[email protected]>",
]
build = false
exclude = [
".gitignore",
".github",
]
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"
[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 = "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.12"
features = [
"extern_crate_alloc",
"derive",
]
[dependencies.drm-ffi]
version = "0.9.0"
[dependencies.drm-fourcc]
version = "^2.2.0"
[dependencies.rustix]
version = "0.38.22"
features = [
"mm",
"fs",
]
[dev-dependencies.image]
version = "0.24"
features = ["png"]
default-features = false
[dev-dependencies.rustix]
version = "0.38.22"
features = [
"event",
"mm",
]
[dev-dependencies.rustyline]
version = "13"
[features]
use_bindgen = ["drm-ffi/use_bindgen"]
[target.'cfg(target_os = "freebsd")'.dependencies.libc]
version = "0.2"