• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.66"
15name = "drm"
16version = "0.14.1"
17authors = [
18    "Tyler Slabinski <tslabinski@slabity.net>",
19    "Victoria Brekenfeld <crates-io@drakulix.de>",
20]
21build = false
22exclude = [
23    ".gitignore",
24    ".github",
25]
26autobins = false
27autoexamples = false
28autotests = false
29autobenches = false
30description = "Safe, low-level bindings to the Direct Rendering Manager API"
31readme = "README.md"
32license = "MIT"
33repository = "https://github.com/Smithay/drm-rs"
34
35[lib]
36name = "drm"
37path = "src/lib.rs"
38
39[[example]]
40name = "atomic_modeset"
41path = "examples/atomic_modeset.rs"
42
43[[example]]
44name = "basic"
45path = "examples/basic.rs"
46
47[[example]]
48name = "ffi"
49path = "examples/ffi.rs"
50
51[[example]]
52name = "kms_interactive"
53path = "examples/kms_interactive.rs"
54
55[[example]]
56name = "legacy_modeset"
57path = "examples/legacy_modeset.rs"
58
59[[example]]
60name = "list_modes"
61path = "examples/list_modes.rs"
62
63[[example]]
64name = "properties"
65path = "examples/properties.rs"
66
67[[example]]
68name = "resources"
69path = "examples/resources.rs"
70
71[[example]]
72name = "syncobj"
73path = "examples/syncobj.rs"
74
75[dependencies.bitflags]
76version = "2"
77
78[dependencies.bytemuck]
79version = "1.12"
80features = [
81    "extern_crate_alloc",
82    "derive",
83]
84
85[dependencies.drm-ffi]
86version = "0.9.0"
87
88[dependencies.drm-fourcc]
89version = "^2.2.0"
90
91[dependencies.rustix]
92version = "0.38.22"
93features = [
94    "mm",
95    "fs",
96]
97
98[dev-dependencies.image]
99version = "0.24"
100features = ["png"]
101default-features = false
102
103[dev-dependencies.rustix]
104version = "0.38.22"
105features = [
106    "event",
107    "mm",
108]
109
110[dev-dependencies.rustyline]
111version = "13"
112
113[features]
114use_bindgen = ["drm-ffi/use_bindgen"]
115
116[target.'cfg(target_os = "freebsd")'.dependencies.libc]
117version = "0.2"
118