crosvm/rutabaga_gfx/Cargo.toml
Yiwei Zhang 521ee98d41 rutabaga_gfx: adding missing nix ioctl feature for rutabaga_gralloc
Fix regression in f3dbf20eed

BUG=b:314785753
TEST=rutabaga_gralloc builds

Change-Id: Id2715076ab239b49fb00d230b4a76f4c4493e55e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5081852
Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Andrew Walbran <qwandor@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2023-12-04 17:58:53 +00:00

41 lines
1.1 KiB
TOML

[package]
name = "rutabaga_gfx"
version = "0.1.2"
authors = ["The ChromiumOS Authors + Android Open Source Project"]
edition = "2021"
description = "[highly unstable] Handling virtio-gpu protocols"
license-file = "LICENSE"
[features]
gfxstream = []
gfxstream_stub = []
virgl_renderer = []
virgl_renderer_next = []
minigbm = []
# To try out Vulkano, delete the following line and uncomment the line in "dependencies". Vulkano
# features are just a prototype and not integrated yet into the ChromeOS build system.
vulkano = []
x = []
[dependencies]
cfg-if = "1.0.0"
libc = "0.2.116"
remain = "0.2"
thiserror = "1.0.23"
zerocopy = { version = "0.7", features = ["derive"] }
log = "0.4"
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
nix = { version = "0.27.1", features = ["event", "feature", "fs", "mman", "socket", "uio", "ioctl"] }
[target.'cfg(windows)'.dependencies]
winapi = "0.3"
# To build latest Vulkano, change version to git = "https:/github.com/vulkano-rs/vulkano.git"
# vulkano = { version = "0.31.0", optional = true }
[build-dependencies]
pkg-config = "0.3"
anyhow = "1.0.57"