crosvm/hypervisor/Cargo.toml
Andrew Walbran 1661dfca89 Update bitflags dependency to 2.2.1.
This is a new major version, and requires some code changes.

Change-Id: I294ce3604aad6e6dc5f50e33246b690e883c1e36
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4481294
Auto-Submit: Andrew Walbran <qwandor@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-04-27 17:22:36 +00:00

50 lines
1.1 KiB
TOML

[package]
name = "hypervisor"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
haxm = []
whpx = []
gdb = ["gdbstub", "gdbstub_arch"]
geniezone = []
gunyah = []
[dependencies]
anyhow = "*"
bit_field = { path = "../bit_field" }
bitflags = "2.2.1"
cros_fdt = { path = "../cros_fdt" }
data_model = { path = "../common/data_model" }
downcast-rs = "1.2.0"
enumn = "0.1.0"
fnv = "1"
gdbstub = { version = "0.6.3", optional = true }
gdbstub_arch = { version = "0.2.4", optional = true }
libc = "*"
memoffset = "0.6"
once_cell = "1.7"
serde = { version = "1", features = [ "derive" ] }
serde_json = { version = "1" }
sync = { path = "../common/sync" }
base = { path = "../base" }
vm_memory = { path = "../vm_memory" }
[target.'cfg(unix)'.dependencies]
kvm = { path = "../kvm" }
kvm_sys = { path = "../kvm_sys" }
[target.'cfg(windows)'.dependencies]
thiserror = "*"
winapi = "*"
win_util = { path = "../win_util" }
[target.'cfg(windows)'.dependencies.windows]
version = "0.39.0"
features = [
"Win32_Foundation",
]
[target.'cfg(windows)'.dev-dependencies]
tempfile = "*"