mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 15:01:16 +00:00
Move this enum from vm-device to hypervisor crate so that hypervisor crate does not gain an extra dependency. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
23 lines
568 B
TOML
23 lines
568 B
TOML
[package]
|
|
name = "vm-device"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["vfio-ioctls/kvm"]
|
|
mshv = ["vfio-ioctls/mshv"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.57"
|
|
hypervisor = { path = "../hypervisor" }
|
|
thiserror = "1.0.31"
|
|
serde = { version = "1.0.137", features = ["rc"] }
|
|
serde_derive = "1.0.137"
|
|
serde_json = "1.0.81"
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vm-memory = { version = "0.7.0", features = ["backend-mmap"] }
|
|
vmm-sys-util = "0.9.0"
|
|
|