blob: e10b51ddaf1a21f5c9b71aeb8988f48515884186 [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.65"
name = "drm"
version = "0.12.0"
authors = [
"Tyler Slabinski <[email protected]>",
"Victoria Brekenfeld <[email protected]>",
]
exclude = [
".gitignore",
".github",
]
description = "Safe, low-level bindings to the Direct Rendering Manager API"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Smithay/drm-rs"
[dependencies.bitflags]
version = "2"
[dependencies.bytemuck]
version = "1.12"
features = [
"extern_crate_alloc",
"derive",
]
[dependencies.drm-ffi]
version = "0.8.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"]