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" 14name = "gbm" 15version = "0.14.2" 16authors = ["Victoria Brekenfeld <github@drakulix.de>"] 17exclude = [ 18 ".gitignore", 19 ".travis.yml", 20 ".rustfmt.toml", 21 ".github", 22] 23description = "libgbm bindings for rust" 24documentation = "https://docs.rs/gbm" 25readme = "README.md" 26keywords = [ 27 "wayland", 28 "gbm", 29 "drm", 30 "bindings", 31] 32categories = ["external-ffi-bindings"] 33license = "MIT" 34repository = "https://github.com/Smithay/gbm.rs" 35 36[dependencies.bitflags] 37version = "1.2" 38 39[dependencies.drm] 40version = "0.11.0" 41optional = true 42 43[dependencies.drm-fourcc] 44version = "2.2" 45 46[dependencies.gbm-sys] 47version = "0.3.0" 48 49[dependencies.libc] 50version = "0.2" 51 52[dependencies.wayland-backend] 53version = "0.3" 54features = ["server_system"] 55optional = true 56 57[dependencies.wayland-server] 58version = "0.31" 59optional = true 60 61[dev-dependencies.drm] 62version = "0.11.0" 63 64[features] 65default = [ 66 "import-wayland", 67 "import-egl", 68 "drm-support", 69] 70drm-support = ["drm"] 71import-egl = [] 72import-wayland = [ 73 "wayland-server", 74 "wayland-backend", 75] 76use_bindgen = ["gbm-sys/use_bindgen"] 77