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.15.0" 16authors = ["Victoria Brekenfeld <[email protected]>"] 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 = "2" 38 39[dependencies.drm] 40version = "0.12.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.serde] 53version = "1.0.103" 54features = ["derive"] 55optional = true 56 57[dependencies.wayland-backend] 58version = "0.3" 59features = ["server_system"] 60optional = true 61 62[dependencies.wayland-server] 63version = "0.31" 64optional = true 65 66[dev-dependencies.drm] 67version = "0.12.0" 68 69[features] 70default = [ 71 "import-wayland", 72 "import-egl", 73 "drm-support", 74] 75drm-support = ["drm"] 76import-egl = [] 77import-wayland = [ 78 "wayland-server", 79 "wayland-backend", 80] 81serde = [ 82 "dep:serde", 83 "bitflags/serde", 84] 85use_bindgen = ["gbm-sys/use_bindgen"] 86