| # 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.15.0" |
| authors = ["Victoria Brekenfeld <[email protected]>"] |
| exclude = [ |
| ".gitignore", |
| ".travis.yml", |
| ".rustfmt.toml", |
| ".github", |
| ] |
| 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" |
| |
| [dependencies.bitflags] |
| version = "2" |
| |
| [dependencies.drm] |
| version = "0.12.0" |
| optional = true |
| |
| [dependencies.drm-fourcc] |
| version = "2.2" |
| |
| [dependencies.gbm-sys] |
| version = "0.3.0" |
| |
| [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.12.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"] |