• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "devices"
3version = "0.1.0"
4authors = ["The ChromiumOS Authors"]
5edition = "2021"
6
7[features]
8android_display = ["gpu_display/android_display"]
9android_display_stub = ["gpu_display/android_display_stub"]
10arc_quota = ["dbus", "protobuf", "system_api"]
11audio = []
12audio_aaudio = []
13audio_cras = ["libcras"]
14balloon = []
15gpu = ["gpu_display"]
16gunyah = []
17libvda-stub = ["libvda/libvda-stub"]
18net = []
19pvclock = []
20geniezone = []
21usb = []
22vaapi = ["cros-codecs/vaapi", "crc32fast"]
23video-decoder = []
24video-encoder = []
25minigbm = ["rutabaga_gfx/minigbm"]
26x = ["gpu_display/x", "rutabaga_gfx/x"]
27virgl_renderer = ["gpu", "rutabaga_gfx/virgl_renderer"]
28vtpm = ["system_api", "protobuf", "dbus"]
29gfxstream = ["gpu", "rutabaga_gfx/gfxstream"]
30registered_events = []
31slirp = ["net_util/slirp"]
32stats = []
33seccomp_trace = []
34swap = ["swap/enable"]
35whpx = []
36pci-hotplug = []
37noncoherent-dma = []
38
39[dependencies]
40argh = "0.1.7"
41async-task = "4"
42acpi_tables = {path = "../acpi_tables" }
43anyhow = "*"
44async-trait = "0.1.36"
45audio_streams = "*"
46audio_util = { path = "../audio_util" }
47balloon_control = { path = "../common/balloon_control" }
48base = { path = "../base" }
49bit_field = { path = "../bit_field" }
50cfg-if = "1.0.0"
51chrono = { version = "0.4.34", features = [ "serde", "now" ], default-features = false }
52crc32fast = { version = "1.2.1", optional = true }
53cros_async = { path = "../cros_async" }
54cros-codecs = { version = "0.0.4", optional = true }
55crosvm_cli = { path = "../crosvm_cli" }
56data_model = { path = "../common/data_model" }
57dbus = { version = "0.9.7", features = ["stdfd"], optional = true }
58disk = { path = "../disk" }
59downcast-rs = "1.2.0"
60enumn = "0.1.0"
61ffmpeg = { path = "../media/ffmpeg", optional = true }
62gpu_display = { path = "../gpu_display", optional = true }
63rutabaga_gfx = { path = "../rutabaga_gfx" }
64hypervisor = { path = "../hypervisor" }
65kvm_sys = { path = "../kvm_sys" }
66libc = "*"
67libvda = { path = "../media/libvda", optional = true }
68linux_input_sys = { path = "../linux_input_sys" }
69memoffset = { version = "0.6" }
70metrics = { path = "../metrics" }
71net_util = { path = "../net_util" }
72num-traits = "0.2"
73once_cell = "1.7.2"
74power_monitor = { path = "../power_monitor" }
75protobuf = { version = "3.2", optional = true }
76protos = { path = "../protos", optional = true }
77rand = "0.8"
78remain = "*"
79resources = { path = "../resources" }
80serde = { version = "1", features = [ "derive", "rc" ] }
81serde_json = "1"
82serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
83smallvec = "1.6.1"
84sync = { path = "../common/sync" }
85system_api = { path = "../system_api", optional = true }
86thiserror = "1.0.20"
87cros_tracing = { path = "../cros_tracing" }
88swap = { path = "../swap" }
89vmm_vhost = { path = "../third_party/vmm_vhost" }
90virtio_sys = { path = "../virtio_sys" }
91vm_control = { path = "../vm_control" }
92vm_memory = { path = "../vm_memory" }
93zerocopy = { version = "0.7", features = ["derive"] }
94
95[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
96android_audio = { path = "../android_audio" }
97fuse = {path = "../fuse" }
98libcras = { version = "*", optional = true }
99minijail = "*"
100net_sys = { path = "../net_sys" }
101p9 = "*"
102usb_util = { path = "../usb_util" }
103vfio_sys = { path = "../vfio_sys" }
104vhost = { path = "../vhost" }
105
106[target.'cfg(windows)'.dependencies]
107broker_ipc = { path = "../broker_ipc" }
108tube_transporter = { path = "../tube_transporter" }
109win_audio = { path = "../win_audio"}
110win_util = { path = "../win_util"}
111winapi = "*"
112
113[dependencies.futures]
114version = "*"
115features = ["async-await", "std"]
116default-features = false
117
118[dev-dependencies]
119bytes = "1.1.0"
120crc32fast = "1"
121libtest-mimic = "0.6"
122named-lock = "0.3"
123tempfile = "3"
124