xref: /cloud-hypervisor/devices/Cargo.toml (revision 20296e909a88ab1dd9d94b6bd2160ca84c430f5f)
1[package]
2authors = ["The Chromium OS Authors"]
3edition = "2021"
4name = "devices"
5version = "0.1.0"
6
7[dependencies]
8acpi_tables = { workspace = true }
9anyhow = "1.0.94"
10arch = { path = "../arch" }
11bitflags = "2.9.0"
12byteorder = "1.5.0"
13event_monitor = { path = "../event_monitor" }
14hypervisor = { path = "../hypervisor" }
15libc = "0.2.167"
16log = "0.4.22"
17num_enum = "0.7.2"
18pci = { path = "../pci" }
19serde = { version = "1.0.208", features = ["derive"] }
20thiserror = { workspace = true }
21tpm = { path = "../tpm" }
22vm-allocator = { path = "../vm-allocator" }
23vm-device = { path = "../vm-device" }
24vm-memory = { workspace = true, features = [
25  "backend-atomic",
26  "backend-bitmap",
27  "backend-mmap",
28] }
29vm-migration = { path = "../vm-migration" }
30vmm-sys-util = { workspace = true }
31
32[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
33arch = { path = "../arch" }
34
35[features]
36default = []
37kvm = ["arch/kvm"]
38pvmemcontrol = []
39