1[package] 2name = "hypervisor" 3version = "0.1.0" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7[features] 8haxm = [] 9whpx = [] 10gdb = ["gdbstub", "gdbstub_arch"] 11geniezone = [] 12gunyah = [] 13noncoherent-dma = [] 14 15[dependencies] 16anyhow = "*" 17bit_field = { path = "../bit_field" } 18bitflags = "2.2.1" 19cros_fdt = { path = "../cros_fdt" } 20data_model = { path = "../common/data_model" } 21downcast-rs = "1.2.0" 22enumn = "0.1.0" 23fnv = "1" 24gdbstub = { version = "0.7.0", optional = true } 25gdbstub_arch = { version = "0.3.0", optional = true } 26libc = "*" 27memoffset = "0.6" 28once_cell = "1.7" 29serde = { version = "1", features = [ "derive" ] } 30serde_json = { version = "1" } 31sync = { path = "../common/sync" } 32base = { path = "../base" } 33vm_memory = { path = "../vm_memory" } 34 35[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] 36kvm = { path = "../kvm" } 37kvm_sys = { path = "../kvm_sys" } 38 39[target.'cfg(windows)'.dependencies] 40thiserror = "*" 41winapi = "*" 42win_util = { path = "../win_util" } 43 44[target.'cfg(windows)'.dependencies.windows] 45version = "0.39.0" 46features = [ 47 "Win32_Foundation", 48] 49 50[target.'cfg(windows)'.dev-dependencies] 51tempfile = "*" 52