mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-29 03:00:19 +00:00
32cabe0cd4
BUG=b:213149155 TEST=presubmit Change-Id: Iff1a721dddfaed3e2728222a75348745be9ef05a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3710851 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Vikram Auradkar <auradkar@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
88 lines
2.5 KiB
TOML
88 lines
2.5 KiB
TOML
[package]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
audio = []
|
|
audio_cras = ["libcras"]
|
|
chromeos = ["dbus", "protobuf", "system_api"]
|
|
direct = []
|
|
gpu = ["gpu_display","rutabaga_gfx"]
|
|
tpm = ["tpm2"]
|
|
usb = []
|
|
video-decoder = []
|
|
video-encoder = []
|
|
minigbm = ["rutabaga_gfx/minigbm"]
|
|
x = ["gpu_display/x", "rutabaga_gfx/x"]
|
|
virgl_renderer = ["gpu", "rutabaga_gfx/virgl_renderer"]
|
|
gfxstream = ["gpu", "rutabaga_gfx/gfxstream"]
|
|
slirp = []
|
|
whpx = []
|
|
|
|
[dependencies]
|
|
argh = "0.1.7"
|
|
async-task = "4"
|
|
acpi_tables = {path = "../acpi_tables" }
|
|
anyhow = "*"
|
|
audio_streams = "*"
|
|
balloon_control = { path = "../common/balloon_control" }
|
|
base = { path = "../base" }
|
|
bit_field = { path = "../bit_field" }
|
|
cfg-if = "1.0.0"
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../common/data_model" }
|
|
dbus = { version = "0.9", optional = true }
|
|
disk = { path = "../disk" }
|
|
enumn = "0.1.0"
|
|
ffmpeg = { path = "../media/ffmpeg", optional = true }
|
|
rutabaga_gfx = { path = "../rutabaga_gfx", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
libc = "*"
|
|
libvda = { path = "../media/libvda", optional = true }
|
|
linux_input_sys = { path = "../linux_input_sys" }
|
|
memoffset = { version = "0.6" }
|
|
net_sys = { path = "../net_sys" }
|
|
net_util = { path = "../net_util" }
|
|
num-traits = "0.2"
|
|
once_cell = "1.7.2"
|
|
protobuf = { version = "2.3", optional = true }
|
|
protos = { path = "../protos", optional = true }
|
|
rand = "0.7.2"
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = "1"
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
smallvec = "1.6.1"
|
|
sync = { path = "../common/sync" }
|
|
system_api = { version = "*", optional = true }
|
|
thiserror = "1.0.20"
|
|
tpm2 = { path = "../tpm2", optional = true }
|
|
uuid = { version = "0.8.2" }
|
|
vhost = { path = "../vhost" }
|
|
vmm_vhost = { path = "../third_party/vmm_vhost", features = ["vmm", "device", "vfio-device"] }
|
|
virtio_sys = { path = "../virtio_sys" }
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
fuse = {path = "../fuse" }
|
|
gpu_display = { path = "../gpu_display", optional = true }
|
|
libcras = { version = "*", optional = true }
|
|
minijail = "*"
|
|
p9 = "*"
|
|
power_monitor = { path = "../power_monitor" }
|
|
usb_util = { path = "../usb_util" }
|
|
vfio_sys = { path = "../vfio_sys" }
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
features = ["async-await", "std"]
|
|
default-features = false
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
crc32fast = "1"
|