2020-04-30 20:46:40 +00:00
|
|
|
[package]
|
|
|
|
name = "hypervisor"
|
|
|
|
version = "0.1.0"
|
2022-12-29 21:24:33 +00:00
|
|
|
authors = ["The ChromiumOS Authors"]
|
2022-03-08 01:16:09 +00:00
|
|
|
edition = "2021"
|
2020-04-30 20:46:40 +00:00
|
|
|
|
2022-06-01 20:11:46 +00:00
|
|
|
[features]
|
|
|
|
haxm = []
|
2022-06-11 22:34:27 +00:00
|
|
|
whpx = []
|
2023-02-13 04:57:30 +00:00
|
|
|
geniezone = []
|
2024-09-27 00:35:43 +00:00
|
|
|
gvm = []
|
2023-03-15 20:59:26 +00:00
|
|
|
gunyah = []
|
2024-01-25 14:45:36 +00:00
|
|
|
noncoherent-dma = []
|
2022-06-01 20:11:46 +00:00
|
|
|
|
2020-04-30 20:46:40 +00:00
|
|
|
[dependencies]
|
2024-05-21 22:37:42 +00:00
|
|
|
anyhow = "1"
|
2020-05-04 17:45:55 +00:00
|
|
|
bit_field = { path = "../bit_field" }
|
2023-04-26 17:20:59 +00:00
|
|
|
bitflags = "2.2.1"
|
2022-12-14 03:07:14 +00:00
|
|
|
cros_fdt = { path = "../cros_fdt" }
|
2021-10-27 18:04:03 +00:00
|
|
|
data_model = { path = "../common/data_model" }
|
2020-09-29 23:00:24 +00:00
|
|
|
downcast-rs = "1.2.0"
|
2021-11-05 23:07:59 +00:00
|
|
|
enumn = "0.1.0"
|
2022-05-31 20:09:02 +00:00
|
|
|
fnv = "1"
|
2024-05-21 22:37:42 +00:00
|
|
|
libc = "0.2"
|
2022-06-15 21:32:30 +00:00
|
|
|
once_cell = "1.7"
|
2021-01-07 16:30:28 +00:00
|
|
|
serde = { version = "1", features = [ "derive" ] }
|
2023-02-13 18:54:05 +00:00
|
|
|
serde_json = { version = "1" }
|
2021-10-27 18:04:03 +00:00
|
|
|
sync = { path = "../common/sync" }
|
2022-03-16 19:16:04 +00:00
|
|
|
base = { path = "../base" }
|
2020-07-21 03:21:11 +00:00
|
|
|
vm_memory = { path = "../vm_memory" }
|
2022-05-04 20:56:28 +00:00
|
|
|
|
2023-10-03 01:33:00 +00:00
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
2022-06-01 20:11:46 +00:00
|
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
|
2024-05-17 19:57:51 +00:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
|
|
|
|
hypervisor_test_macro = { path = "hypervisor_test_macro" }
|
2024-05-17 20:47:35 +00:00
|
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
2024-05-17 19:57:51 +00:00
|
|
|
|
2022-06-01 20:11:46 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2024-05-21 22:37:42 +00:00
|
|
|
thiserror = "1"
|
|
|
|
winapi = "0.3"
|
2022-06-01 20:11:46 +00:00
|
|
|
win_util = { path = "../win_util" }
|
|
|
|
|
2023-04-08 05:44:43 +00:00
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
|
|
version = "0.39.0"
|
|
|
|
features = [
|
|
|
|
"Win32_Foundation",
|
2024-07-04 04:31:40 +00:00
|
|
|
"Win32_System_Memory",
|
2023-04-08 05:44:43 +00:00
|
|
|
]
|
|
|
|
|
2022-06-01 20:11:46 +00:00
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
2024-05-21 22:37:42 +00:00
|
|
|
tempfile = "3"
|