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