# 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" name = "gbm" version = "0.16.0" authors = ["Victoria Brekenfeld "] build = false exclude = [ ".gitignore", ".travis.yml", ".rustfmt.toml", ".github", ] autobins = false autoexamples = false autotests = false autobenches = false description = "libgbm bindings for rust" documentation = "https://docs.rs/gbm" readme = "README.md" keywords = [ "wayland", "gbm", "drm", "bindings", ] categories = ["external-ffi-bindings"] license = "MIT" repository = "https://github.com/Smithay/gbm.rs" [lib] name = "gbm" path = "src/lib.rs" [dependencies.bitflags] version = "2" [dependencies.drm] version = "0.14.0" optional = true [dependencies.drm-fourcc] version = "2.2" [dependencies.gbm-sys] version = "0.3.1" [dependencies.libc] version = "0.2" [dependencies.serde] version = "1.0.103" features = ["derive"] optional = true [dependencies.wayland-backend] version = "0.3" features = ["server_system"] optional = true [dependencies.wayland-server] version = "0.31" optional = true [dev-dependencies.drm] version = "0.14.0" [features] default = [ "import-wayland", "import-egl", "drm-support", ] drm-support = ["drm"] import-egl = [] import-wayland = [ "wayland-server", "wayland-backend", ] serde = [ "dep:serde", "bitflags/serde", ] use_bindgen = ["gbm-sys/use_bindgen"]