1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.65"
15name = "drm"
16version = "0.12.0"
17authors = [
18    "Tyler Slabinski <[email protected]>",
19    "Victoria Brekenfeld <[email protected]>",
20]
21exclude = [
22    ".gitignore",
23    ".github",
24]
25description = "Safe, low-level bindings to the Direct Rendering Manager API"
26readme = "README.md"
27license = "MIT"
28repository = "https://github.com/Smithay/drm-rs"
29
30[dependencies.bitflags]
31version = "2"
32
33[dependencies.bytemuck]
34version = "1.12"
35features = [
36    "extern_crate_alloc",
37    "derive",
38]
39
40[dependencies.drm-ffi]
41version = "0.8.0"
42
43[dependencies.drm-fourcc]
44version = "^2.2.0"
45
46[dependencies.rustix]
47version = "0.38.22"
48features = [
49    "mm",
50    "fs",
51]
52
53[dev-dependencies.image]
54version = "0.24"
55features = ["png"]
56default-features = false
57
58[dev-dependencies.rustix]
59version = "0.38.22"
60features = [
61    "event",
62    "mm",
63]
64
65[dev-dependencies.rustyline]
66version = "13"
67
68[features]
69use_bindgen = ["drm-ffi/use_bindgen"]
70