1[package] 2name = "rutabaga_gfx" 3version = "0.1.3" 4authors = ["The ChromiumOS Authors + Android Open Source Project"] 5edition = "2021" 6description = "Handling virtio-gpu protocols" 7license-file = "LICENSE" 8 9[features] 10gfxstream = [] 11gfxstream_stub = [] 12virgl_renderer = [] 13minigbm = [] 14# Vulkano features are just a prototype and not integrated yet into the ChromeOS build system. 15vulkano = ["dep:vulkano"] 16x = [] 17 18[dependencies] 19cfg-if = "1.0.0" 20libc = "0.2.116" 21remain = "0.2" 22serde = { version = "1", features = ["derive"] } 23serde_json = "1" 24thiserror = "1.0.23" 25zerocopy = { version = "0.8.13", features = ["derive"] } 26 27log = "0.4" 28 29# To build latest Vulkano, change version to git = "https://github.com/vulkano-rs/vulkano.git" 30vulkano = { version = "0.33.0", optional = true } 31 32[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] 33nix = { version = "0.29", features = ["event", "feature", "fs", "mman", "socket", "uio", "ioctl"] } 34 35[target.'cfg(windows)'.dependencies] 36winapi = {version = "0.3", features = ["winnt", "handleapi", "processthreadsapi", "winbase"]} 37 38[build-dependencies] 39pkg-config = "0.3" 40anyhow = "1" 41 42[dev-dependencies] 43tempfile = "3" 44