[package]
authors = ["The Cloud Hypervisor Authors"]
edition.workspace = true
name = "vm-device"
rust-version.workspace = true
version = "0.1.0"

[features]
default = []
kvm = ["vfio-ioctls/kvm"]
mshv = ["vfio-ioctls/mshv"]

[dependencies]
hypervisor = { path = "../hypervisor" }
serde = { workspace = true, features = ["derive", "rc"] }
thiserror = { workspace = true }
vfio-ioctls = { workspace = true, default-features = false }
vm-memory = { workspace = true, features = ["backend-mmap"] }
vmm-sys-util = { workspace = true }

[lints]
workspace = true
