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" } 29snapshot = { workspace = true } 30sync = { path = "../common/sync" } 31base = { path = "../base" } 32vm_memory = { path = "../vm_memory" } 33 34[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] 35kvm_sys = { path = "../kvm_sys" } 36 37[target.'cfg(target_arch = "x86_64")'.dev-dependencies] 38hypervisor_test_macro = { path = "hypervisor_test_macro" } 39zerocopy = { version = "0.8.13", features = ["derive"] } 40 41[target.'cfg(windows)'.dependencies] 42thiserror = "1" 43winapi = "0.3" 44win_util = { path = "../win_util" } 45 46[target.'cfg(windows)'.dependencies.windows] 47version = "0.39.0" 48features = [ 49 "Win32_Foundation", 50 "Win32_System_Memory", 51] 52 53[target.'cfg(windows)'.dev-dependencies] 54tempfile = "3" 55