# 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 = "hbm" version = "0.1.6" authors = ["Chia-I Wu"] description = "A hardware buffer allocator" readme = "README.md" keywords = [ "graphics", "gbm", "minigbm", "gralloc", ] categories = [ "hardware-support", "graphics", "multimedia", ] license = "MIT" repository = "https://gitlab.freedesktop.org/olv/hbm" [dependencies.ash] version = "0.38" optional = true [dependencies.bitflags] version = "2" [dependencies.drm] version = "0.12" optional = true [dependencies.log] version = "0.4" [dependencies.nix] version = "0.28" features = [ "fs", "ioctl", "mman", "poll", ] [dependencies.thiserror] version = "1" [dev-dependencies.drm-fourcc] version = "2" [dev-dependencies.env_logger] version = "0.9" [features] ash = ["dep:ash"] default = [ "ash", "drm", ] drm = ["dep:drm"] [lints.clippy] multiple_unsafe_ops_per_block = "deny" undocumented_unsafe_blocks = "deny"